diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-13 15:48:54 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2016-01-13 15:48:54 -0500 |
commit | 26905e009babe6020fddcf3820e57e2f87c5539c (patch) | |
tree | 9b53036444651d704874568bd6b1c0d67a3b626d | |
parent | b1bfb28b586a319052d96dd4dfd40a05505ea6ed (diff) | |
download | postgresql-26905e009babe6020fddcf3820e57e2f87c5539c.tar.gz postgresql-26905e009babe6020fddcf3820e57e2f87c5539c.zip |
Run pgindent on src/bin/pg_dump/*
To ease doing indent fixups on a couple of patches I have in progress.
-rw-r--r-- | src/bin/pg_dump/dumputils.h | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dump.c | 6 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_dumpall.c | 4 | ||||
-rw-r--r-- | src/bin/pg_dump/pg_restore.c | 2 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/bin/pg_dump/dumputils.h b/src/bin/pg_dump/dumputils.h index 101515fca21..4941ec02e79 100644 --- a/src/bin/pg_dump/dumputils.h +++ b/src/bin/pg_dump/dumputils.h @@ -38,8 +38,8 @@ typedef struct SimpleOidList typedef struct SimpleStringListCell { struct SimpleStringListCell *next; - bool touched; /* true, when this string was searched - and touched */ + bool touched; /* true, when this string was searched and + * touched */ char val[FLEXIBLE_ARRAY_MEMBER]; /* null-terminated string here */ } SimpleStringListCell; diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 56c0528ee3f..42b3297ffa5 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -921,7 +921,7 @@ help(const char *progname) printf(_(" --serializable-deferrable wait until the dump can run without anomalies\n")); printf(_(" --snapshot=SNAPSHOT use given snapshot for the dump\n")); printf(_(" --strict-names require table and/or schema include patterns to\n" - " match at least one entity each\n")); + " match at least one entity each\n")); printf(_(" --use-set-session-authorization\n" " use SET SESSION AUTHORIZATION commands instead of\n" " ALTER OWNER commands to set ownership\n")); @@ -1216,8 +1216,8 @@ expand_table_name_patterns(Archive *fout, query = createPQExpBuffer(); /* - * this might sometimes result in duplicate entries in the OID list, - * but we don't care. + * this might sometimes result in duplicate entries in the OID list, but + * we don't care. */ for (cell = patterns->head; cell; cell = cell->next) diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c index 121ec3f5acc..be6b4a898e7 100644 --- a/src/bin/pg_dump/pg_dumpall.c +++ b/src/bin/pg_dump/pg_dumpall.c @@ -1415,8 +1415,8 @@ dumpCreateDB(PGconn *conn) else if (strcmp(dbtablespace, "pg_default") != 0 && !no_tablespaces) { /* - * Cannot change tablespace of the database we're connected to, - * so to move "postgres" to another tablespace, we connect to + * Cannot change tablespace of the database we're connected to, so + * to move "postgres" to another tablespace, we connect to * "template1", and vice versa. */ if (strcmp(dbname, "postgres") == 0) diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c index af8dff50e68..5be06930e2d 100644 --- a/src/bin/pg_dump/pg_restore.c +++ b/src/bin/pg_dump/pg_restore.c @@ -471,7 +471,7 @@ usage(const char *progname) printf(_(" --no-tablespaces do not restore tablespace assignments\n")); printf(_(" --section=SECTION restore named section (pre-data, data, or post-data)\n")); printf(_(" --strict-names require table and/or schema include patterns to\n" - " match at least one entity each\n")); + " match at least one entity each\n")); printf(_(" --use-set-session-authorization\n" " use SET SESSION AUTHORIZATION commands instead of\n" " ALTER OWNER commands to set ownership\n")); |