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

Commit1155d8b

Browse files
committed
Fix use of wrong variable in pg_receivewal's get_destination_dir().
The global variable wrongly used is always the one passed toget_destination_dir(), so there currently are no negative consequences.Author: Bharath Rupireddy <bharath.rupireddyforpostgres@gmail.com>Discussion:https://postgr.es/m/CALj2ACUT0C2LQwhyLXTQdj8T9SxZa5j7cmu-UOz0cZ8_D5edjg@mail.gmail.com
1 parentd33aeef commit1155d8b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/bin/pg_basebackup/pg_receivewal.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ get_destination_dir(char *dest_folder)
240240
dir=opendir(dest_folder);
241241
if (dir==NULL)
242242
{
243-
pg_log_error("could not open directory \"%s\": %m",basedir);
243+
pg_log_error("could not open directory \"%s\": %m",dest_folder);
244244
exit(1);
245245
}
246246

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp