From eeb86777619285a14fe197ac23e615b68f8fe7b2 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 19 Nov 2007 23:48:33 +0000 Subject: [PATCH] Update comment. --- src/bin/pg_dump/pg_dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bin/pg_dump/pg_dump.c b/src/bin/pg_dump/pg_dump.c index 2b073bfdc8..55a502dd71 100644 --- a/src/bin/pg_dump/pg_dump.c +++ b/src/bin/pg_dump/pg_dump.c @@ -12,7 +12,7 @@ * by PostgreSQL * * IDENTIFICATION - * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.478 2007/11/19 18:44:06 momjian Exp $ + * $PostgreSQL: pgsql/src/bin/pg_dump/pg_dump.c,v 1.479 2007/11/19 23:48:33 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -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"); -- 2.40.0