pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Doc: improve documentation about nextval()/setval().
Date: Wed, 24 Nov 2021 18:37:38 +0000
Message-ID: <E1mpx9G-0008Vr-Nw@gemulon.postgresql.org> (raw)

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6365e3a0535fc5e6cd55ec4a97c562a11e371fdd

Modified Files
--------------
doc/src/sgml/func.sgml | 61 +++++++++++++++++++++++++++++---------------------
1 file changed, 36 insertions(+), 25 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1mpx9G-0008Vr-Nw@gemulon.postgresql.org>
Permalink:  ../E1mpx9G-0008Vr-Nw@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mpx9G-0008Vr-Nw@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Doc: improve documentation about nextval()/setval().
  In-Reply-To: <E1mpx9G-0008Vr-Nw@gemulon.postgresql.org>
  References: <E1mpx9G-0008Vr-Nw@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox