Improve comment of DeallocateStmt->isall
commitee3ef4af19d8ba140a8b33c6598d470d36eec10c
authorMichael Paquier <michael@paquier.xyz>
Thu, 25 Apr 2024 01:20:49 +0000 (25 10:20 +0900)
committerMichael Paquier <michael@paquier.xyz>
Thu, 25 Apr 2024 01:20:49 +0000 (25 10:20 +0900)
tree3926ee088ef590698c25832e366ef751387f48ef
parente51c2a46b54ee294c699499bedf76940ce2f392c
Improve comment of DeallocateStmt->isall

This field is not used directly in the code, but it is important for
query jumbling to be able to make a difference between a named
DEALLOCATE and DEALLOCATE ALL (see bb45156f342c).  This behavior is
tracked in the regression tests of pg_stat_statements, but the reason
why this field is important can be easily missed, as a recent discussion
has proved, so let's improve its comment to document the reason why it
needs to be around.

Wording has been suggested by Tom Lane

Discussion: https://postgr.es/m/Zih1ATt37YFda8_p@paquier.xyz
src/include/nodes/parsenodes.h