Re: pgsql: Fix WAL replay in presence of an incomplete record

2021-11-05 Thread Alvaro Herrera
On 2021-Nov-05, Alvaro Herrera wrote: > On 2021-Nov-04, Tom Lane wrote: > > > the standbys > > would be unable to proceed anyway in case of a primary crash at the > > wrong time, because an un-updated primary would send them inconsistent > > WAL. If anything, it seems like it might be marginally

Re: pgsql: Fix WAL replay in presence of an incomplete record

2021-11-05 Thread Alvaro Herrera
On 2021-Nov-04, Tom Lane wrote: > Is there really any point in issuing such advice? IIUC, the standbys > would be unable to proceed anyway in case of a primary crash at the > wrong time, because an un-updated primary would send them inconsistent > WAL. If anything, it seems like it might be marg

Re: pgsql: Fix WAL replay in presence of an incomplete record

2021-11-04 Thread Tom Lane
[ I'm working on the release notes ] Alvaro Herrera writes: > Fix WAL replay in presence of an incomplete record > ... > Because a new type of WAL record is added, users should be careful to > upgrade standbys first, primaries later. Otherwise they risk the standby > being unable to start if the