Skip to content

Commit fdb11ad

Browse files
committed
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
1 parent bef1650 commit fdb11ad

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/src/sgml/func.sgml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21095,8 +21095,9 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2109521095
<type>oid</type>
2109621096
</entry>
2109721097
<entry>
21098-
Lookup a replication origin by name and return the internal id. If no
21099-
corresponding replication origin is found an error is thrown.
21098+
Lookup a replication origin by name and return the internal ID. If
21099+
no such replication origin is found, <literal>NULL</literal> is
21100+
returned.
2110021101
</entry>
2110121102
</row>
2110221103

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy