Doc: improve documentation about nextval()/setval().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: b0a7161c564089d4119bbcd5e874a1f4430de1bc
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2021-11-24T18:37:12Z
Releases: 11.15
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

Files

PathChange+/−
doc/src/sgml/func.sgml modified +36 −25

Documentation touched

Discussion