Update comment.
authorBruce Momjian <bruce@momjian.us>
Mon, 19 Nov 2007 23:48:33 +0000 (23:48 +0000)
committerBruce Momjian <bruce@momjian.us>
Mon, 19 Nov 2007 23:48:33 +0000 (23:48 +0000)
src/bin/pg_dump/pg_dump.c

index fa32ea34988e068d5dc213e561b434f20183d105..2825e6c465c1985cddd65cad22bb7d8417942a65 100644 (file)
@@ -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");