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

Commit81f6bbe

Browse files
committed
pg_basebackup: Error message improvements.
Fujii Masao
1 parent9c272da commit81f6bbe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -914,7 +914,7 @@ BaseBackup(void)
914914
res=PQexec(conn,"IDENTIFY_SYSTEM");
915915
if (PQresultStatus(res)!=PGRES_TUPLES_OK)
916916
{
917-
fprintf(stderr,_("%s: could not identify system: %s\n"),
917+
fprintf(stderr,_("%s: could not identify system: %s"),
918918
progname,PQerrorMessage(conn));
919919
disconnect_and_exit(1);
920920
}
@@ -1049,8 +1049,8 @@ BaseBackup(void)
10491049
res=PQgetResult(conn);
10501050
if (PQresultStatus(res)!=PGRES_TUPLES_OK)
10511051
{
1052-
fprintf(stderr,_("%s: could not get WAL end position from server\n"),
1053-
progname);
1052+
fprintf(stderr,_("%s: could not get WAL end position from server: %s"),
1053+
progname,PQerrorMessage(conn));
10541054
disconnect_and_exit(1);
10551055
}
10561056
if (PQntuples(res)!=1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp