projects
/
users
/
bernd
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f278f6
)
Fix bogus formatting of DROP DATABASE command, per Christopher Kings-Lynne.
author
Tom Lane
<
[email protected]
>
Thu, 16 Jan 2003 15:28:06 +0000
(15:28 +0000)
committer
Tom Lane
<
[email protected]
>
Thu, 16 Jan 2003 15:28:06 +0000
(15:28 +0000)
src/bin/pg_dump/pg_dumpall.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dumpall.c
b/src/bin/pg_dump/pg_dumpall.c
index 145a8f332e8142bb6377d3f8931ddfa5b21d5e9f..bac03cf901c32e348d7c7b990a88fb9e80d9724c 100644
(file)
--- a/
src/bin/pg_dump/pg_dumpall.c
+++ b/
src/bin/pg_dump/pg_dumpall.c
@@
-414,7
+414,7
@@
dumpCreateDB(PGconn *conn)
continue;
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));