diff options
author | Michael Paquier <michael@paquier.xyz> | 2022-01-19 10:37:47 +0900 |
---|---|---|
committer | Michael Paquier <michael@paquier.xyz> | 2022-01-19 10:37:47 +0900 |
commit | 0f1367c9f381aae523f6557c0ee28a800b3eace7 (patch) | |
tree | 7835ad72961bb4e89e9d846741490be8b918cea9 | |
parent | ff4d0d8cc5e2e3823bf3428e707ee33c13d401f6 (diff) |
doc: Fix description of pg_replication_origin_oid() in error case
This function returns NULL if the replication origin given in input
argument does not exist, contrary to what the docs described
previously.
Author: Ian Barwick
Discussion: https://postgr.es/m/CAB8KJ=htJjBL=103URqjOxV2mqb4rjphDpMeKdyKq_QXt6h05w@mail.gmail.com
Backpatch-through: 10
-rw-r--r-- | doc/src/sgml/func.sgml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index 13f39a08d5c..8b86c118106 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -26072,7 +26072,8 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup()); </para> <para> Looks up a replication origin by name and returns the internal ID. If - no such replication origin is found an error is thrown. + no such replication origin is found, <literal>NULL</literal> is + returned. </para></entry> </row> |