diff --git a/doc/src/sgml/func.sgml b/doc/src/sgml/func.sgml index d30864e..fb3f973 100644 --- a/doc/src/sgml/func.sgml +++ b/doc/src/sgml/func.sgml @@ -19521,7 +19521,7 @@ SELECT setval('myseq', 42, false); Next nextval Returns information about the sequence. lsn is the - page lsn of the sequence, last_value is the most + page LSN of the sequence, last_value is the most recent value returned by nextval in the current session, log_cnt shows how many fetches remain before a new WAL record has to be written, and diff --git a/src/backend/commands/sequence.c b/src/backend/commands/sequence.c index d83dbd2..bff990a 100644 --- a/src/backend/commands/sequence.c +++ b/src/backend/commands/sequence.c @@ -1958,7 +1958,7 @@ pg_sequence_state(PG_FUNCTION_ARGS) UnlockReleaseBuffer(buf); relation_close(seqrel, NoLock); - /* Page lsn for the sequence */ + /* Page LSN for the sequence */ values[0] = LSNGetDatum(lsn); /* The value most recently returned by nextval in the current session */