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

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

Commit: 8ffd9ac3b206c0a93f9a16e0341c9f7850d26483
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2025-07-15T20:35:42Z
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

Files

PathChange+/−
doc/src/sgml/func.sgml modified +3 −3
doc/src/sgml/protocol.sgml modified +10 −0

Discussion