Skip to content

Commit 26905e0

Browse files
committed
Run pgindent on src/bin/pg_dump/*
To ease doing indent fixups on a couple of patches I have in progress.
1 parent b1bfb28 commit 26905e0

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

src/bin/pg_dump/dumputils.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ typedef struct SimpleOidList
3838
typedef struct SimpleStringListCell
3939
{
4040
struct SimpleStringListCell *next;
41-
bool touched; /* true, when this string was searched
42-
and touched */
41+
bool touched; /* true, when this string was searched and
42+
* touched */
4343
char val[FLEXIBLE_ARRAY_MEMBER]; /* null-terminated string here */
4444
} SimpleStringListCell;
4545

src/bin/pg_dump/pg_dump.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ help(const char *progname)
921921
printf(_(" --serializable-deferrable wait until the dump can run without anomalies\n"));
922922
printf(_(" --snapshot=SNAPSHOT use given snapshot for the dump\n"));
923923
printf(_(" --strict-names require table and/or schema include patterns to\n"
924-
" match at least one entity each\n"));
924+
" match at least one entity each\n"));
925925
printf(_(" --use-set-session-authorization\n"
926926
" use SET SESSION AUTHORIZATION commands instead of\n"
927927
" ALTER OWNER commands to set ownership\n"));
@@ -1216,8 +1216,8 @@ expand_table_name_patterns(Archive *fout,
12161216
query = createPQExpBuffer();
12171217

12181218
/*
1219-
* this might sometimes result in duplicate entries in the OID list,
1220-
* but we don't care.
1219+
* this might sometimes result in duplicate entries in the OID list, but
1220+
* we don't care.
12211221
*/
12221222

12231223
for (cell = patterns->head; cell; cell = cell->next)

src/bin/pg_dump/pg_dumpall.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1415,8 +1415,8 @@ dumpCreateDB(PGconn *conn)
14151415
else if (strcmp(dbtablespace, "pg_default") != 0 && !no_tablespaces)
14161416
{
14171417
/*
1418-
* Cannot change tablespace of the database we're connected to,
1419-
* so to move "postgres" to another tablespace, we connect to
1418+
* Cannot change tablespace of the database we're connected to, so
1419+
* to move "postgres" to another tablespace, we connect to
14201420
* "template1", and vice versa.
14211421
*/
14221422
if (strcmp(dbname, "postgres") == 0)

src/bin/pg_dump/pg_restore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ usage(const char *progname)
471471
printf(_(" --no-tablespaces do not restore tablespace assignments\n"));
472472
printf(_(" --section=SECTION restore named section (pre-data, data, or post-data)\n"));
473473
printf(_(" --strict-names require table and/or schema include patterns to\n"
474-
" match at least one entity each\n"));
474+
" match at least one entity each\n"));
475475
printf(_(" --use-set-session-authorization\n"
476476
" use SET SESSION AUTHORIZATION commands instead of\n"
477477
" ALTER OWNER commands to set ownership\n"));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy