]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Doc: clarify description of current-date/time functions.
authorTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jul 2025 20:35:42 +0000 (16:35 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Tue, 15 Jul 2025 20:35:56 +0000 (16:35 -0400)
commitc33e55ac91d28235932bc4e38604f13360d9b731
treea0c98e4ea8e9bf4c8549b1c5c03cba85c001d822
parent8bd92fc51410a1e286c23243d70c7331b820c1ff
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
doc/src/sgml/func.sgml
doc/src/sgml/protocol.sgml