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

Commit5c35328

Browse files
committed
Backpatch error message fix from81f6bbe
Without this, pg_basebackup doesn't tell you why it failed when for examplethere is a file in the data directory that the backend doesn't havepermissions to read.
1 parentd9d7214 commit5c35328

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -931,8 +931,8 @@ BaseBackup(void)
931931
res=PQgetResult(conn);
932932
if (PQresultStatus(res)!=PGRES_TUPLES_OK)
933933
{
934-
fprintf(stderr,_("%s: could not get WAL end position from server\n"),
935-
progname);
934+
fprintf(stderr,_("%s: could not get WAL end position from server: %s"),
935+
progname,PQerrorMessage(conn));
936936
disconnect_and_exit(1);
937937
}
938938
if (PQntuples(res)!=1)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp