The receipt that disappeared on refresh
A payment form says “saved.” The customer reloads the page and the receipt is gone. A second later it comes back. If a write goes to the primary database and the next read goes to a replica, both responses can be truthful and still make a terrible receipt.
PostgreSQL 19, released on November 19, adds WAIT FOR LSN. A reader on a standby can wait until the database has replayed changes up to a known point before it issues the read. The application has to know which point matters; upgrading alone will not fix the form.
Use the wait where people need confirmation, not on every page. Put a time budget on the receipt lookup and decide what a customer sees when that budget expires. “Still confirming” is more useful than inviting a second payment.