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

Commit0f04fc6

Browse files
fsync backup_label after pg_start_backup()
Dave Kerr
1 parentb112df8 commit0f04fc6

File tree

1 file changed

+1
-0
lines changed
  • src/backend/access/transam

1 file changed

+1
-0
lines changed

‎src/backend/access/transam/xlog.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9346,6 +9346,7 @@ do_pg_start_backup(const char *backupidstr, bool fast, char **labelfile)
93469346
BACKUP_LABEL_FILE)));
93479347
if (fwrite(labelfbuf.data,labelfbuf.len,1,fp)!=1||
93489348
fflush(fp)!=0||
9349+
pg_fsync(fileno(fp))!=0||
93499350
ferror(fp)||
93509351
FreeFile(fp))
93519352
ereport(ERROR,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp