summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorMichael Paquier2022-01-19 01:38:02 +0000
committerMichael Paquier2022-01-19 01:38:02 +0000
commitd696e63963d24cbd5c5715a331b70bfbffb2b113 (patch)
tree43b04798e00006c891f8e1d8835e8b509c1dbfa6 /doc/src
parent92e6c1c9be159e5f46b11465200ac08965c225b9 (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
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/func.sgml5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index 464e9c1c161..8c4eef9c447 100644
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -19619,8 +19619,9 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
<type>oid</type>
</entry>
<entry>
- Lookup a replication origin by name and return the internal id. If no
- corresponding replication origin is found an error is thrown.
+ Lookup a replication origin by name and return the internal ID. If
+ no such replication origin is found, <literal>NULL</literal> is
+ returned.
</entry>
</row>