PostgreSQL 19.0 WAIT FOR LSN Load Testing and Tuning Finds Two Stall Bugs
Jobin Augustine ran several hundred thousand WAIT FOR LSN operations on PostgreSQL 19.0, comparing the approach with synchronous replication and finding two rare stall bugs. One remains unfixed, so he recommends waiting for PostgreSQL 19.1 before production use.
Brief · Based on the source excerpt
Why It MattersApplications that need to read back a write from a standby can wait for WAL to reach the specified LSN on demand instead of making every primary commit wait for the standby.