Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit26905e0

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 parentb1bfb28 commit26905e0

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
typedefstructSimpleStringListCell
3939
{
4040
structSimpleStringListCell*next;
41-
booltouched;/* true, when this string was searched
42-
and touched */
41+
booltouched;/* true, when this string was searched and
42+
* touched */
4343
charval[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-
*butwe 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
elseif (strcmp(dbtablespace,"pg_default")!=0&& !no_tablespaces)
14161416
{
14171417
/*
1418-
* Cannot change tablespace of the database we're connected to,
1419-
*soto 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)

[8]ページ先頭

©2009-2025 Movatter.jp