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

Commit641c5b5

Browse files
committed
Slight code cleanup for printf's.
1 parentae93e5f commit641c5b5

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

‎src/bin/pg_dump/pg_dumpall.c

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Portions Copyright (c) 1994, Regents of the University of California
77
*
88
*
9-
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.36 2004/06/03 00:07:36 momjian Exp $
9+
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.37 2004/06/05 04:27:48 momjian Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -219,9 +219,7 @@ main(int argc, char *argv[])
219219

220220
conn=connectDatabase("template1",pghost,pgport,pguser,force_password);
221221

222-
printf("--\n");
223-
printf("-- PostgreSQL database cluster dump\n");
224-
printf("--\n\n");
222+
printf("--\n-- PostgreSQL database cluster dump\n--\n\n");
225223
printf("\\connect \"template1\"\n\n");
226224

227225
if (!data_only)
@@ -239,9 +237,7 @@ main(int argc, char *argv[])
239237

240238
PQfinish(conn);
241239

242-
printf("--\n");
243-
printf("-- PostgreSQL database cluster dump complete\n");
244-
printf("--\n\n");
240+
printf("--\n-- PostgreSQL database cluster dump complete\n--\n\n");
245241

246242
exit(0);
247243
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp