mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
Fix oversight in the relation forks patch: forgot to copy fork number to
fsync requests. This should fix the installcheck failure of the buildfarm member "kudu".
This commit is contained in:
parent
06224652f2
commit
84c3769482
@ -37,7 +37,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.52 2008/09/30 10:52:13 heikki Exp $
|
||||
* $PostgreSQL: pgsql/src/backend/postmaster/bgwriter.c,v 1.53 2008/10/14 08:06:39 heikki Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@ -1012,6 +1012,7 @@ ForwardFsyncRequest(RelFileNode rnode, ForkNumber forknum, BlockNumber segno)
|
||||
}
|
||||
request = &BgWriterShmem->requests[BgWriterShmem->num_requests++];
|
||||
request->rnode = rnode;
|
||||
request->forknum = forknum;
|
||||
request->segno = segno;
|
||||
LWLockRelease(BgWriterCommLock);
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user