WAIT FOR LSN
WAIT FOR command waiting for a WAL LSN to be replayed/flushed, and the latch-based WAL waiting under it.
Versions
- PostgreSQL 20 · worked-on · new · major
- PostgreSQL 19 · shipped · new · major · 26 commits · +3.1k / -284 lines
- PostgreSQL 18 · reverted · new · moderate · 11 commits · +1.1k / -159 lines
- PostgreSQL 17 · reverted · new · moderate · 6 commits · +821 / -127 lines
- PostgreSQL 16 · worked-on · new · moderate
Threads
- test: avoid redundant standby catchup in 049_wait_for_lsn
- [PATCH] Report each commit's WAL position to the client
- Improve read_local_xlog_page_guts by replacing polling with latch-based waiting
- [PATCH] Extensible ReadyForQuery wire protocol message and C hook, for connection pools and WAIT FOR LSN
- WAIT for LSN does not reject small negative timeouts
- WAIT FOR command should do some query jumbling
- Reject WAIT FOR earlier in transaction-snapshot mode
- WAIT FOR NO_THROW option could use some documentation
- Improve WAIT FOR read-your-writes consistency doc
- Implement waiting for wal lsn replay: reloaded
- timeout value overflow in wait for lsn
- Should the WAIT FOR command tag be "WAIT" or "WAIT FOR"?
- wait_event_type for WAIT FOR LSN
- [PATCH] Fix WAIT FOR LSN cleanup on subtransaction abort
- [PATCH] Fix WAIT FOR LSN standby_write/standby_flush for archive recovery cases
- Bug: WAIT FOR LSN crashes with assertion failure inside PL/pgSQL DO blocks and procedures
- pgsql: Implement WAIT FOR command
- Add tab completion support for WAIT FOR command
- pgsql: Implement pg_wal_replay_wait() stored procedure
- protocol-level wait-for-LSN
- Re: [HACKERS] make async slave to wait for lsn to be replayed
- make async slave to wait for lsn to be replayed
- Re: [HACKERS] make async slave to wait for lsn to be replayed