Skip to content

Commit 641c5b5

Browse files
committed
Slight code cleanup for printf's.
1 parent ae93e5f commit 641c5b5

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)
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