From: | Alexander Korotkov <akorotkov(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Add 'no_error' argument to pg_wal_replay_wait() |
Date: | 2024-10-24 12:04:14 |
Message-ID: | E1t3wZa-002Dtg-PT@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e546989a269d5d73d283901aadcfda8c6d98e87b
Modified Files
--------------
doc/src/sgml/func.sgml | 56 ++++++++++++++++++++++++++----
src/backend/access/transam/xlogfuncs.c | 38 +++++++++++++++++---
src/backend/access/transam/xlogwait.c | 3 +-
src/backend/catalog/system_functions.sql | 4 ++-
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.dat | 7 +++-
src/test/recovery/t/043_wal_replay_wait.pl | 22 ++++++++++++
7 files changed, 118 insertions(+), 14 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2024-10-24 13:38:04 | pgsql: Support configuring multiple ECDH curves |
Previous Message | Alexander Korotkov | 2024-10-24 11:36:08 | pgsql: Update header comment for lookup_type_cache() |