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: clarify description of current-date/time functions.
Date: Tue, 15 Jul 2025 20:36:56 +0000
Message-ID: <E1ubmOV-006Sxt-2n@gemulon.postgresql.org> (raw)

Doc: clarify description of current-date/time functions.

Minor wordsmithing of the func.sgml paragraph describing
statement_timestamp() and allied functions: don't switch between
"statement" and "command" when those are being used to mean about
the same thing.

Also, add some text to protocol.sgml describing the perhaps-surprising
behavior these functions have in a multi-statement Query message.

Reported-by: P M <petermittere@gmail.com>
Author: Tom Lane <tgl@sss.pgh.pa.us>
Reviewed-by: Laurenz Albe <laurenz.albe@cybertec.at>
Reviewed-by: David G. Johnston <david.g.johnston@gmail.com>
Discussion: https://postgr.es/m/175223006802.3157505.14764328206246105568@wrigleys.postgresql.org
Backpatch-through: 13

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/2e7390928e80fe1e7bfd581724f7dcce3d27197d

Modified Files
--------------
doc/src/sgml/func.sgml     |  6 +++---
doc/src/sgml/protocol.sgml | 10 ++++++++++
2 files changed, 13 insertions(+), 3 deletions(-)



view thread (7+ messages)  latest in thread

Message-ID: <E1ubmOV-006Sxt-2n@gemulon.postgresql.org>
Permalink:  ../E1ubmOV-006Sxt-2n@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1ubmOV-006Sxt-2n@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 using the --to and --cc options:
  reply via email

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Doc: clarify description of current-date/time functions.
  In-Reply-To: <E1ubmOV-006Sxt-2n@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