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

Commit393afa5

Browse files
committed
fix
1 parent6b4c90a commit393afa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/archive.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ do_archive_push(char *wal_file_path, char *wal_file_name)
6565
join_path_components(absolute_wal_file_path,current_dir,wal_file_path);
6666
join_path_components(backup_wal_file_path,arclog_path,wal_file_name);
6767

68-
if (access(absolute_wal_file_path,F_OK)!=-1)
69-
elog(ERROR,"file '%s', already exists.",absolute_wal_file_path);
68+
if (access(backup_wal_file_path,F_OK)!=-1)
69+
elog(ERROR,"file '%s', already exists.",backup_wal_file_path);
7070

7171
elog(INFO,"pg_probackup archive-push from %s to %s",absolute_wal_file_path,backup_wal_file_path);
7272
copy_wal_file(absolute_wal_file_path,backup_wal_file_path);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp