mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-05 23:29:20 +02:00
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
This commit is contained in:
parent
92e6c1c9be
commit
d696e63963
@ -19619,8 +19619,9 @@ postgres=# SELECT * FROM pg_walfile_name_offset(pg_stop_backup());
|
|||||||
<type>oid</type>
|
<type>oid</type>
|
||||||
</entry>
|
</entry>
|
||||||
<entry>
|
<entry>
|
||||||
Lookup a replication origin by name and return the internal id. If no
|
Lookup a replication origin by name and return the internal ID. If
|
||||||
corresponding replication origin is found an error is thrown.
|
no such replication origin is found, <literal>NULL</literal> is
|
||||||
|
returned.
|
||||||
</entry>
|
</entry>
|
||||||
</row>
|
</row>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user