mirror of
https://github.com/postgres/postgres.git
synced 2025-12-19 17:02:53 +03:00
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
This commit is contained in:
@@ -2,7 +2,8 @@
|
||||
*
|
||||
* xlogwait.c
|
||||
* Implements waiting for the given replay LSN, which is used in
|
||||
* CALL pg_wal_replay_wait(target_lsn pg_lsn, timeout float8).
|
||||
* CALL pg_wal_replay_wait(target_lsn pg_lsn,
|
||||
* timeout float8, no_error bool).
|
||||
*
|
||||
* Copyright (c) 2024, PostgreSQL Global Development Group
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user