Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit18b5ef5

Browse files
author
Neil Conway
committed
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.
1 parentdaec16d commit18b5ef5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_dump/pg_restore.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
*
3535
*
3636
* IDENTIFICATION
37-
*$PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.69 2005/02/22 04:39:38 momjian Exp $
37+
*$PostgreSQL: pgsql/src/bin/pg_dump/pg_restore.c,v 1.70 2005/04/29 07:08:06 neilc Exp $
3838
*
3939
*-------------------------------------------------------------------------
4040
*/
@@ -313,7 +313,7 @@ main(int argc, char **argv)
313313
break;
314314

315315
default:
316-
write_msg("unrecognized archive format '%s'; please specify 't' or 'c'\n",
316+
write_msg(NULL,"unrecognized archive format '%s'; please specify 't' or 'c'\n",
317317
opts->formatName);
318318
exit(1);
319319
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp