git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 5987feb)
doc: Fix description of pg_replication_origin_oid() in error case
2022年1月19日 01:37:40 +0000 (10:37 +0900)
2022年1月19日 01:37:40 +0000 (10:37 +0900)
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


diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml
index a270f89dfe92f5522ca36d651dab5d1dafd64e08..90169a0ce72cc581b9a3a0b7c9b848f78e7b7418 100644 (file)
--- a/doc/src/sgml/func.sgml
+++ b/doc/src/sgml/func.sgml
@@ -26524,7 +26524,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>
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /