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

2021-09-30 Thread Alvaro Herrera
On 2021-Sep-30, Michael Paquier wrote: > Hi Alvaro, > > On Wed, Sep 29, 2021 at 02:40:29PM +, Alvaro Herrera wrote: > > Fix WAL replay in presence of an incomplete record > > [...] > > src/test/recovery/t/026_overwrite_contrecord.pl | 207 > > > > src/test/recovery/t/

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

2021-09-29 Thread Michael Paquier
Hi Alvaro, On Wed, Sep 29, 2021 at 02:40:29PM +, Alvaro Herrera wrote: > Fix WAL replay in presence of an incomplete record > [...] > src/test/recovery/t/026_overwrite_contrecord.pl | 207 > src/test/recovery/t/idiosyncratic_copy | 20 +++ The builfarm is sayi

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of

pgsql: Fix WAL replay in presence of an incomplete record

2021-09-29 Thread Alvaro Herrera
Fix WAL replay in presence of an incomplete record Physical replication always ships WAL segment files to replicas once they are complete. This is a problem if one WAL record is split across a segment boundary and the primary server crashes before writing down the segment with the next portion of