update_doc_1.patch
application/octet-stream
Filename: update_doc_1.patch
Type: application/octet-stream
Part: 0
Patch
Format: unified
| File | + | − |
|---|---|---|
| doc/src/sgml/func/func-sequence.sgml | 6 | 4 |
diff --git a/doc/src/sgml/func/func-sequence.sgml b/doc/src/sgml/func/func-sequence.sgml
index de266c36296..9301faa67d2 100644
--- a/doc/src/sgml/func/func-sequence.sgml
+++ b/doc/src/sgml/func/func-sequence.sgml
@@ -163,13 +163,15 @@ SELECT setval('myseq', 42, false); <lineannotation>Next <function>nextval</fu
<structfield>is_called</structfield> indicates whether the sequence has
been used. <structfield>page_lsn</structfield> is the LSN corresponding
to the most recent WAL record that modified this sequence relation.
- This function returns a row of NULL values if the sequence does not
- exist or if the current user lacks privileges on it.
+ This function returns a row of NULL values if the specified relation
+ OID does not exist, if it is not a sequence, if the current user lacks
+ <literal>SELECT</literal> privilege on the sequence, if the sequence
+ is another session's temporary sequence, or if it is an unlogged
+ sequence on a standby server.
</para>
<para>
This function is primarily intended for internal use by pg_dump and by
- logical replication to synchronize sequences. It requires
- <literal>SELECT</literal> privilege on the sequence.
+ logical replication to synchronize sequences.
</para></entry>
</row>
</tbody>