WAIT FOR LSN provides "read-your-writes" consistency on standbys by waiting until a standby has replayed WAL up to a specific log sequence number (LSN).
WAIT FOR LSN