1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Remove trailing whitespace from *.sgml files.

Historically we've been lax about this, but seeing that we're not
lax in C files, there doesn't seem to be a good reason to be so
in the documentation.  Remove the existing occurrences (mostly
though not entirely in copied-n-pasted psql output), and modify
.gitattributes so that "git diff --check" will warn about future
cases.

While at it, add *.pm to the set of extensions .gitattributes
knows about, and remove some obsolete entries for files that
we don't have in the tree anymore.

Per followup discussion of commit 5a892c9b1.

Discussion: https://postgr.es/m/E1nfcV1-000kOR-E5@gemulon.postgresql.org
This commit is contained in:
Tom Lane
2022-04-20 11:04:28 -04:00
parent 6c0f9f60f1
commit 836af9756b
45 changed files with 275 additions and 279 deletions

View File

@ -2625,7 +2625,7 @@ LANGUAGE SQL IMMUTABLE STRICT;
to functions in <productname>PostgreSQL</productname>. An example is:
<screen>
SELECT concat_lower_or_upper('Hello', 'World', true);
concat_lower_or_upper
concat_lower_or_upper
-----------------------
HELLO WORLD
(1 row)
@ -2635,7 +2635,7 @@ SELECT concat_lower_or_upper('Hello', 'World', true);
Another example is:
<screen>
SELECT concat_lower_or_upper('Hello', 'World');
concat_lower_or_upper
concat_lower_or_upper
-----------------------
hello world
(1 row)
@ -2661,7 +2661,7 @@ SELECT concat_lower_or_upper('Hello', 'World');
For example:
<screen>
SELECT concat_lower_or_upper(a =&gt; 'Hello', b =&gt; 'World');
concat_lower_or_upper
concat_lower_or_upper
-----------------------
hello world
(1 row)
@ -2672,13 +2672,13 @@ SELECT concat_lower_or_upper(a =&gt; 'Hello', b =&gt; 'World');
order, for example:
<screen>
SELECT concat_lower_or_upper(a =&gt; 'Hello', b =&gt; 'World', uppercase =&gt; true);
concat_lower_or_upper
concat_lower_or_upper
-----------------------
HELLO WORLD
(1 row)
SELECT concat_lower_or_upper(a =&gt; 'Hello', uppercase =&gt; true, b =&gt; 'World');
concat_lower_or_upper
concat_lower_or_upper
-----------------------
HELLO WORLD
(1 row)
@ -2689,7 +2689,7 @@ SELECT concat_lower_or_upper(a =&gt; 'Hello', uppercase =&gt; true, b =&gt; 'Wor
An older syntax based on ":=" is supported for backward compatibility:
<screen>
SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
concat_lower_or_upper
concat_lower_or_upper
-----------------------
HELLO WORLD
(1 row)
@ -2711,7 +2711,7 @@ SELECT concat_lower_or_upper(a := 'Hello', uppercase := true, b := 'World');
For example:
<screen>
SELECT concat_lower_or_upper('Hello', 'World', uppercase =&gt; true);
concat_lower_or_upper
concat_lower_or_upper
-----------------------
HELLO WORLD
(1 row)