mirror of
https://github.com/postgres/postgres.git
synced 2026-06-11 01:30:11 -04:00
This patch fixes a bug in the error message emitted by pg_restore on an
incorrect -F argument: write_msg() expects its first parameter to be a "module name", not the format string.
This commit is contained in:
parent
2cfb3b6d4d
commit
8f54b05551
1 changed files with 2 additions and 2 deletions
|
|
@ -34,7 +34,7 @@
|
|||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.43 2002/10/18 22:05:36 petere Exp $
|
||||
* $Header: /cvsroot/pgsql/src/bin/pg_dump/pg_restore.c,v 1.43.2.1 2005/04/30 08:01:29 neilc Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
|
|
@ -327,7 +327,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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue