Skip to content

Commit 3204b8a

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 639a929 commit 3204b8a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

doc/src/sgml/func.sgml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25091,7 +25091,8 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
2509125091
</para>
2509225092
<para>
2509325093
Looks up a replication origin by name and returns the internal ID. If
25094-
no such replication origin is found an error is thrown.
25094+
no such replication origin is found, <literal>NULL</literal> is
25095+
returned.
2509525096
</para></entry>
2509625097
</row>
2509725098

0 commit comments

Comments
 (0)