git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cb23b84)
Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
2003年1月16日 15:27:59 +0000 (15:27 +0000)
2003年1月16日 15:27:59 +0000 (15:27 +0000)

diff --git a/src/bin/pg_dump/pg_dumpall.c b/src/bin/pg_dump/pg_dumpall.c
index ebea128a45c38122f47e5cd7d214d253c713b323..4421d13e060f0dc3aa7f79bbbe25e8c0fdbd196c 100644 (file)
--- a/src/bin/pg_dump/pg_dumpall.c
+++ b/src/bin/pg_dump/pg_dumpall.c
@@ -6,7 +6,7 @@
* Portions Copyright (c) 1994, Regents of the University of California
*
*
- * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.12 2003年01月06日 18:53:25 petere Exp $
+ * $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_dumpall.c,v 1.13 2003年01月16日 15:27:59 tgl Exp $
*
*-------------------------------------------------------------------------
*/
@@ -397,7 +397,7 @@ dumpCreateDB(PGconn *conn)
buf = createPQExpBuffer();
if (output_clean)
- appendPQExpBuffer(buf, "DROP DATABASE %s\n;", fmtId(dbname));
+ appendPQExpBuffer(buf, "DROP DATABASE %s;\n", fmtId(dbname));
appendPQExpBuffer(buf, "CREATE DATABASE %s", fmtId(dbname));
appendPQExpBuffer(buf, " WITH OWNER = %s TEMPLATE = template0", fmtId(dbowner));
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /