From: Heikki Linnakangas Date: Tue, 14 Oct 2008 08:06:39 +0000 (+0000) Subject: Fix oversight in the relation forks patch: forgot to copy fork number to X-Git-Tag: REL8_4_BETA1~876 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=84c37694827326c3e5853a25d71ac9581ef6432d;p=postgresql 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". --- diff --git a/src/backend/postmaster/bgwriter.c b/src/backend/postmaster/bgwriter.c index bf805e977e..7d25811afd 100644 --- a/src/backend/postmaster/bgwriter.c +++ b/src/backend/postmaster/bgwriter.c @@ -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;