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

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

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