pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Improve comment of DeallocateStmt->isall
Date: Thu, 25 Apr 2024 01:22:43 +0000
Message-ID: <E1rznow-003kZQ-V2@gemulon.postgresql.org> (raw)

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

Branch
------
master

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

Modified Files
--------------
src/include/nodes/parsenodes.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)



Message-ID: <E1rznow-003kZQ-V2@gemulon.postgresql.org>
Permalink:  ../E1rznow-003kZQ-V2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1rznow-003kZQ-V2@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: michael@paquier.xyz, pgsql-committers@lists.postgresql.org
  Subject: Re: pgsql: Improve comment of DeallocateStmt->isall
  In-Reply-To: <E1rznow-003kZQ-V2@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