projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c1efda
)
Update comment.
author
Bruce Momjian
<bruce@momjian.us>
Mon, 19 Nov 2007 23:48:33 +0000
(23:48 +0000)
committer
Bruce Momjian
<bruce@momjian.us>
Mon, 19 Nov 2007 23:48:33 +0000
(23:48 +0000)
src/bin/pg_dump/pg_dump.c
patch
|
blob
|
blame
|
history
diff --git
a/src/bin/pg_dump/pg_dump.c
b/src/bin/pg_dump/pg_dump.c
index fa32ea34988e068d5dc213e561b434f20183d105..2825e6c465c1985cddd65cad22bb7d8417942a65 100644
(file)
--- a/
src/bin/pg_dump/pg_dump.c
+++ b/
src/bin/pg_dump/pg_dump.c
@@
-1530,7
+1530,7
@@
dumpDatabase(Archive *AH)
if (comment && strlen(comment))
{
resetPQExpBuffer(dbQry);
- /*
This will fail when loaded into a database with a different name.
*/
+ /*
Generates warning when loaded into a differently-named database.
*/
appendPQExpBuffer(dbQry, "COMMENT ON DATABASE %s IS ", fmtId(datname));
appendStringLiteralAH(dbQry, comment, AH);
appendPQExpBuffer(dbQry, ";\n");