pgsql: Doc: clarify description of current-date/time functions. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Doc: clarify description of current-date/time functions.
Date
Msg-id E1ubmOV-006Sxp-2e@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/c33e55ac91d28235932bc4e38604f13360d9b731

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


pgsql-committers by date:

Previous
From: noreply@postgresql.org
Date:
Subject: pgsql: Tag refs/tags/REL_18_BETA2 was created
Next
From: Tom Lane
Date:
Subject: pgsql: Doc: clarify description of current-date/time functions.