Skip to content

Commit c8e0867

Browse files
committed
Remove whitespace from end of lines
pgindent and perltidy should clean up the rest.
1 parent 131b4d6 commit c8e0867

File tree

24 files changed

+76
-77
lines changed

24 files changed

+76
-77
lines changed

contrib/pg_upgrade/TESTING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@ Here are the steps needed to create a regression database dump file:
1313
This database can be created by running 'gmake installcheck' from
1414
src/test/regression.
1515

16-
2) Use pg_dump to dump out the regression database. Use the new
17-
cluster's pg_dump on the old database to minimize whitespace
16+
2) Use pg_dump to dump out the regression database. Use the new
17+
cluster's pg_dump on the old database to minimize whitespace
1818
differences in the diff.
1919

2020
3) Adjust the regression database dump file

doc/src/sgml/client-auth.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ hostnossl <replaceable>database</replaceable> <replaceable>user</replaceable>
188188
obsolete but still accepted spelling of <literal>samerole</>.)
189189
Superusers are not considered to be members of a role for the
190190
purposes of <literal>samerole</> unless they are explicitly
191-
members of the role, directly or indirectly, and not just by
191+
members of the role, directly or indirectly, and not just by
192192
virtue of being a superuser.
193193
The value <literal>replication</> specifies that the record
194194
matches if a replication connection is requested (note that

doc/src/sgml/func.sgml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9648,8 +9648,8 @@ table2-mapping
96489648
<literal>array_to_json(anyarray [, pretty_bool])</literal>
96499649
</entry>
96509650
<entry>
9651-
Returns the array as JSON. A Postgres multi-dimensional array
9652-
becomes a JSON array of arrays. Line feeds will be added between
9651+
Returns the array as JSON. A Postgres multi-dimensional array
9652+
becomes a JSON array of arrays. Line feeds will be added between
96539653
dimension 1 elements if pretty_bool is true.
96549654
</entry>
96559655
<entry><literal>array_to_json('{{1,5},{99,100}}'::int[])</literal></entry>
@@ -9663,7 +9663,7 @@ table2-mapping
96639663
<literal>row_to_json(record [, pretty_bool])</literal>
96649664
</entry>
96659665
<entry>
9666-
Returns the row as JSON. Line feeds will be added between level
9666+
Returns the row as JSON. Line feeds will be added between level
96679667
1 elements if pretty_bool is true.
96689668
</entry>
96699669
<entry><literal>row_to_json(row(1,'foo'))</literal></entry>
@@ -13812,7 +13812,7 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1381213812
<row>
1381313813
<entry><literal><function>pg_get_viewdef(<parameter>view_name</parameter>, <parameter>pretty_bool</>)</function></literal></entry>
1381413814
<entry><type>text</type></entry>
13815-
<entry>get underlying <command>SELECT</command> command for view,
13815+
<entry>get underlying <command>SELECT</command> command for view,
1381613816
lines with fields are wrapped to 80 columns if pretty_bool is true (<emphasis>deprecated</emphasis>)</entry>
1381713817
</row>
1381813818
<row>
@@ -13823,13 +13823,13 @@ SELECT pg_type_is_visible('myschema.widget'::regtype);
1382313823
<row>
1382413824
<entry><literal><function>pg_get_viewdef(<parameter>view_oid</parameter>, <parameter>pretty_bool</>)</function></literal></entry>
1382513825
<entry><type>text</type></entry>
13826-
<entry>get underlying <command>SELECT</command> command for view,
13826+
<entry>get underlying <command>SELECT</command> command for view,
1382713827
lines with fields are wrapped to 80 columns if pretty_bool is true</entry>
1382813828
</row>
1382913829
<row>
1383013830
<entry><literal><function>pg_get_viewdef(<parameter>view_oid</parameter>, <parameter>wrap_int</>)</function></literal></entry>
1383113831
<entry><type>text</type></entry>
13832-
<entry>get underlying <command>SELECT</command> command for view,
13832+
<entry>get underlying <command>SELECT</command> command for view,
1383313833
wrapping lines with fields as specified, pretty printing is implied</entry>
1383413834
</row>
1383513835
<row>

doc/src/sgml/installation.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ PostgreSQL, contrib and HTML documentation successfully made. Ready to install.
16221622
On some systems with shared libraries
16231623
you need to tell the system how to find the newly installed
16241624
shared libraries. The systems on which this is
1625-
<emphasis>not</emphasis> necessary include
1625+
<emphasis>not</emphasis> necessary include
16261626
<systemitem class="osname">FreeBSD</>,
16271627
<systemitem class="osname">HP-UX</>, <systemitem
16281628
class="osname">IRIX</>, <systemitem class="osname">Linux</>,

doc/src/sgml/pgupgrade.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,7 @@ gmake prefix=/usr/local/pgsql.new install
270270

271271
<para>
272272
Install any custom shared object files (or DLLs) used by the old cluster
273-
into the new cluster, e.g. <filename>pgcrypto.so</filename>,
273+
into the new cluster, e.g. <filename>pgcrypto.so</filename>,
274274
whether they are from <filename>contrib</filename>
275275
or some other source. Do not install the schema definitions, e.g.
276276
<filename>pgcrypto.sql</>, because these will be upgraded from the old cluster.

doc/src/sgml/ref/pg_dump.sgml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -403,11 +403,11 @@ PostgreSQL documentation
403403
Dump only the object definitions (schema), not data.
404404
</para>
405405
<para>
406-
To exclude table data for only a subset of tables in the database,
406+
To exclude table data for only a subset of tables in the database,
407407
see <option>--exclude-table-data</>.
408408
</para>
409409
<para>
410-
This option is equivalent to specifying
410+
This option is equivalent to specifying
411411
<option>--section=pre-data --section=post-data</>.
412412
</para>
413413
</listitem>
@@ -417,13 +417,13 @@ PostgreSQL documentation
417417
<term><option>--section=<replaceable class="parameter">sectionname</replaceable></option></term>
418418
<listitem>
419419
<para>
420-
Only dump the named section. The name can be one of <option>pre-data</>, <option>data</>
421-
and <option>post-data</>.
420+
Only dump the named section. The name can be one of <option>pre-data</>, <option>data</>
421+
and <option>post-data</>.
422422
This option can be specified more than once. The default is to dump all sections.
423423
</para>
424424
<para>
425-
Post-data items consist of definitions of indexes, triggers, rules
426-
and constraints other than validated check constraints.
425+
Post-data items consist of definitions of indexes, triggers, rules
426+
and constraints other than validated check constraints.
427427
Pre-data items consist of all other data definition items.
428428
</para>
429429
</listitem>
@@ -640,7 +640,7 @@ PostgreSQL documentation
640640
Do not dump data for any tables matching the <replaceable
641641
class="parameter">table</replaceable> pattern. The pattern is
642642
interpreted according to the same rules as for <option>-t</>.
643-
<option>--exclude-table-data</> can be given more than once to
643+
<option>--exclude-table-data</> can be given more than once to
644644
exclude tables matching any of several patterns. This option is
645645
useful when you need the definition of a particular table even
646646
though you do not need the data in it.

doc/src/sgml/ref/pg_restore.sgml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@
363363
uses the word <quote>schema</> in a different meaning.)
364364
</para>
365365
<para>
366-
This option is equivalent to specifying
366+
This option is equivalent to specifying
367367
<option>--section=pre-data --section=post-data</>.
368368
</para>
369369
</listitem>
@@ -515,13 +515,13 @@
515515
<term><option>--section=<replaceable class="parameter">sectionname</replaceable></option></term>
516516
<listitem>
517517
<para>
518-
Only restore the named section. The name can be one of <option>pre-data</>, <option>data</>
519-
and <option>post-data</>.
518+
Only restore the named section. The name can be one of <option>pre-data</>, <option>data</>
519+
and <option>post-data</>.
520520
This option can be specified more than once. The default is to restore all sections.
521521
</para>
522522
<para>
523-
Post-data items consist of definitions of indexes, triggers, rules
524-
and constraints other than validated check constraints.
523+
Post-data items consist of definitions of indexes, triggers, rules
524+
and constraints other than validated check constraints.
525525
Pre-data items consist of all other data definition items.
526526
</para>
527527
</listitem>

doc/src/sgml/release.sgml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ non-ASCII characters find using grep -P '[\x80-\xFF]'
2929
does not support it
3030
http://www.pemberley.com/janeinfo/latin1.html#latexta
3131

32-
do not use numeric _UTF_ numeric character escapes (&#nnn;),
32+
do not use numeric _UTF_ numeric character escapes (&#nnn;),
3333
we can only use Latin1
3434

3535
Example: Alvaro Herrera is &Aacute;lvaro Herrera

src/backend/utils/misc/guc-file.l

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -431,8 +431,8 @@ ParseConfigFile(const char *config_file, const char *calling_file, bool strict,
431431
return false;
432432
}
433433

434-
ereport(LOG,
435-
(errmsg("skipping missing configuration file \"%s\"",
434+
ereport(LOG,
435+
(errmsg("skipping missing configuration file \"%s\"",
436436
config_file)));
437437
return OK;
438438
}

src/interfaces/libpq/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ backend_src = $(top_srcdir)/src/backend
8585
# compile with appropriate options to build a shared lib, we can't
8686
# necessarily use the same object files as the backend uses. Instead,
8787
# symlink the source files in here and build our own object file.
88-
# For some libpgport modules, this only happens if configure decides
88+
# For some libpgport modules, this only happens if configure decides
8989
# the module is needed (see filter hack in OBJS, above).
9090

9191
chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c inet_net_ntop.c noblock.c open.c pgsleep.c pgstrcasecmp.c snprintf.c strerror.c strlcpy.c thread.c win32error.c win32setlocale.c: % : $(top_srcdir)/src/port/%
@@ -141,7 +141,7 @@ clean distclean: clean-lib
141141
rm -f pg_config_paths.h
142142
rm -f inet_net_ntop.c noblock.c pgstrcasecmp.c thread.c
143143
rm -f chklocale.c crypt.c getaddrinfo.c getpeereid.c inet_aton.c open.c snprintf.c strerror.c strlcpy.c win32error.c win32setlocale.c
144-
rm -f pgsleep.c
144+
rm -f pgsleep.c
145145
rm -f md5.c ip.c
146146
rm -f encnames.c wchar.c
147147

0 commit comments

Comments
 (0)