pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN 2+ messages / 1 participants [nested] [flat]
* pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN @ 2021-08-09 03:46 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: David Rowley @ 2021-08-09 03:46 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 ------ REL_14_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c26552f4fc4fb72c64103ea877ea3c2a251856ad Modified Files -------------- src/backend/commands/explain.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN @ 2021-08-09 03:48 David Rowley <drowley@postgresql.org> 0 siblings, 0 replies; 2+ messages in thread From: David Rowley @ 2021-08-09 03:48 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2021-08-09 03:48 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-08-09 03:46 pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN David Rowley <drowley@postgresql.org> 2021-08-09 03:48 pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN David Rowley <drowley@postgresql.org>
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