pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Rowley <drowley@postgresql.org>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN
Date: Mon, 09 Aug 2021 03:48:03 +0000
Message-ID: <E1mCwGh-0000wG-S2@gemulon.postgresql.org> (raw)

Use ExplainPropertyInteger for queryid in EXPLAIN

This saves a few lines of code.  Also add a comment to mention why we use
ExplainPropertyInteger instead of ExplainPropertyUInteger given that
queryid is a uint64 type.

Author: David Rowley
Reviewed-by: Julien Rouhaud
Discussion: https://postgr.es/m/CAApHDvqhSLYpSU_EqUdN39w9Uvb8ogmHV7_3YhJ0S3aScGBjsg@mail.gmail.com
Backpatch-through: 14, where this code was originally added

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4a3d806f38f99fecf8f2a2bf7990a7ebea9b6c63

Modified Files
--------------
src/backend/commands/explain.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)



view thread (2+ messages)

Message-ID: <E1mCwGh-0000wG-S2@gemulon.postgresql.org>
Permalink:  ../E1mCwGh-0000wG-S2@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1mCwGh-0000wG-S2@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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: drowley@postgresql.org
  Subject: Re: pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN
  In-Reply-To: <E1mCwGh-0000wG-S2@gemulon.postgresql.org>
  References: <E1mCwGh-0000wG-S2@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