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: daec16d)
This patch fixes a bug in the error message emitted by pg_restore on an
2005年4月29日 07:08:06 +0000 (07:08 +0000)
2005年4月29日 07:08:06 +0000 (07:08 +0000)
incorrect -F argument: write_msg() expects its first parameter to be a
"module name", not the format string.


diff --git a/src/bin/pg_dump/pg_restore.c b/src/bin/pg_dump/pg_restore.c
index 9d2a16d467545b2d0750e2ef66099c4ac7fa860a..b99e3b7adad03b5e2dcabbd7ea0742fa85b7ceaa 100644 (file)
--- a/src/bin/pg_dump/pg_restore.c
+++ b/src/bin/pg_dump/pg_restore.c
@@ -34,7 +34,7 @@
*
*
* IDENTIFICATION
- * $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.69 2005年02月22日 04:39:38 momjian Exp $
+ * $PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.70 2005年04月29日 07:08:06 neilc Exp $
*
*-------------------------------------------------------------------------
*/
@@ -313,7 +313,7 @@ main(int argc, char **argv)
break;
default:
- write_msg("unrecognized archive format '%s'; please specify 't' or 'c'\n",
+ write_msg(NULL, "unrecognized archive format '%s'; please specify 't' or 'c'\n",
opts->formatName);
exit(1);
}
This is the main PostgreSQL git repository.
RSS Atom

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