Document that WAIT FOR may be interrupted by recovery conflicts

Alexander Korotkov <akorotkov@postgresql.org>

Commit: 10484c2cc75be3746933d2052b18e8c28512f69e
Author: Alexander Korotkov <akorotkov@postgresql.org>
Date: 2026-04-06T19:47:26Z
Document that WAIT FOR may be interrupted by recovery conflicts

Add a note to the WAIT FOR documentation explaining that sessions
using this command on a standby server may be interrupted by recovery
conflicts.  Some conflicts are unavoidable - for example, replaying
a tablespace drop terminates all backends unconditionally.

Discussion: https://postgr.es/m/CAPpHfds7oSCbZqob7ytT_Lso8fv-NW8LnedUTE4Krde%2B3rkJeA%40mail.gmail.com
Author: Alexander Korotkov <aekorotkov@gmail.com>
Reviewed-by: Xuneng Zhou <xunengzhou@gmail.com>

Files

PathChange+/−
doc/src/sgml/ref/wait_for.sgml modified +10 −0

Discussion