> Hmm ... this doesn't really feel cleaner to me, although I'm not sure
> why not.
Oh, I thought of a more concrete point: InRecovery is inherently a
system-wide state, but XLogInsertAllowed is *not*. While we write
the EOR checkpoint, we really want only the bgwriter to be authorized
to write WAL, but the scheme you propose would effectively authorize
all processes during that window.
regards, tom lane
In response to
pgsql-bugs by date
|Next:||From: stalker||Date: 2009-06-26 15:37:55|
|Subject: BUG #4888: Removed brackets from Check Constraints expressions|
|Previous:||From: Tom Lane||Date: 2009-06-26 15:20:35|
|Subject: Re: BUG #4879: bgwriter fails to fsync the file in recovery mode |