pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes

pgsql: Set ReorderBufferTXN->final_lsn more eagerly

2020-01-17 Thread Alvaro Herrera
Set ReorderBufferTXN->final_lsn more eagerly ... specifically, set it incrementally as each individual change is spilled down to disk. This way, it is set correctly when the transaction disappears without trace, ie. without leaving an XACT_ABORT wal record. (This happens when the server crashes