pgsql: Doc: improve documentation about nextval()/setval(). - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: improve documentation about nextval()/setval().
Date
Msg-id E1mpx9G-0008Vp-NS@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Doc: improve documentation about nextval()/setval().

Clarify that the results of nextval and setval are not guaranteed
persistent until the calling transaction commits.  Some people
seem to have drawn the opposite conclusion from the statement that
these functions are never rolled back, so re-word to avoid saying
it quite that way.

Discussion: https://postgr.es/m/CAKU4AWohO=NfM-4KiZWvdc+z3c1C9FrUBR6xnReFJ6sfy0i=Lw@mail.gmail.com

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/499552273d47645c759d58c5916b3bc8ecc7f13d

Modified Files
--------------
doc/src/sgml/func.sgml | 31 ++++++++++++++++++++++---------
1 file changed, 22 insertions(+), 9 deletions(-)


pgsql-committers by date:

Previous
From: Heikki Linnakangas
Date:
Subject: pgsql: Fix missing space in docs.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: xlog.c: Remove global variables ReadRecPtr and EndRecPtr.