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

Commit6178f1c

Browse files
author
Sokolov Yura
committed
cfs: increment generation in cfs_recover just to make probackup happier
1 parentdb74d1b commit6178f1c

File tree

1 file changed

+3
-0
lines changed
  • src/backend/storage/file

1 file changed

+3
-0
lines changed

‎src/backend/storage/file/cfs.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,10 @@ static bool cfs_recover(FileMap* map, int md,
603603
elseif (pg_fsync(md)<0)
604604
elog(WARNING,"CFS failed to sync map %s: %m",map_path);
605605
else
606+
{
606607
ok= true;
608+
map->generation+=1;/* it is here just for pg_probackup */
609+
}
607610
close(md2);
608611
}
609612
else

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp