Add 'no_error' argument to pg_wal_replay_wait()
authorAlexander Korotkov <akorotkov@postgresql.org>
Thu, 24 Oct 2024 11:40:23 +0000 (14:40 +0300)
committerAlexander Korotkov <akorotkov@postgresql.org>
Thu, 24 Oct 2024 12:02:21 +0000 (15:02 +0300)
commite546989a269d5d73d283901aadcfda8c6d98e87b
tree64e1c28c70bd3647bd51baa95ca20a41787a986a
parent73da6b8d1b3e8b7541961c3534e584243cb0470e
Add 'no_error' argument to pg_wal_replay_wait()

This argument allow skipping throwing an error.  Instead, the result status
can be obtained using pg_wal_replay_wait_status() function.

Catversion is bumped.

Reported-by: Michael Paquier
Discussion: https://postgr.es/m/ZtUF17gF0pNpwZDI%40paquier.xyz
Reviewed-by: Pavel Borisov
doc/src/sgml/func.sgml
src/backend/access/transam/xlogfuncs.c
src/backend/access/transam/xlogwait.c
src/backend/catalog/system_functions.sql
src/include/catalog/catversion.h
src/include/catalog/pg_proc.dat
src/test/recovery/t/043_wal_replay_wait.pl