mirror of
https://github.com/postgres/postgres.git
synced 2025-08-06 18:42:54 +03:00
Slight code cleanup for printf's.
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
* Portions Copyright (c) 1994, Regents of the University of California
|
* Portions Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
*
|
*
|
||||||
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.36 2004/06/03 00:07:36 momjian Exp $
|
* $PostgreSQL: pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.37 2004/06/05 04:27:48 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@@ -219,9 +219,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
conn = connectDatabase("template1", pghost, pgport, pguser, force_password);
|
conn = connectDatabase("template1", pghost, pgport, pguser, force_password);
|
||||||
|
|
||||||
printf("--\n");
|
printf("--\n-- PostgreSQL database cluster dump\n--\n\n");
|
||||||
printf("-- PostgreSQL database cluster dump\n");
|
|
||||||
printf("--\n\n");
|
|
||||||
printf("\\connect \"template1\"\n\n");
|
printf("\\connect \"template1\"\n\n");
|
||||||
|
|
||||||
if (!data_only)
|
if (!data_only)
|
||||||
@@ -239,9 +237,7 @@ main(int argc, char *argv[])
|
|||||||
|
|
||||||
PQfinish(conn);
|
PQfinish(conn);
|
||||||
|
|
||||||
printf("--\n");
|
printf("--\n-- PostgreSQL database cluster dump complete\n--\n\n");
|
||||||
printf("-- PostgreSQL database cluster dump complete\n");
|
|
||||||
printf("--\n\n");
|
|
||||||
|
|
||||||
exit(0);
|
exit(0);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user