diff --git a/doc/src/sgml/func/func-sequence.sgml b/doc/src/sgml/func/func-sequence.sgml index 4a2a6dc9369..de266c36296 100644 --- a/doc/src/sgml/func/func-sequence.sgml +++ b/doc/src/sgml/func/func-sequence.sgml @@ -163,12 +163,13 @@ SELECT setval('myseq', 42, false); Next nextvalis_called indicates whether the sequence has been used. page_lsn 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 is primarily intended for internal use by pg_dump and by logical replication to synchronize sequences. It requires - USAGE or SELECT privilege on the - sequence. + SELECT privilege on the sequence.