| From: | David Rowley <drowley(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN |
| Date: | 2021-08-09 03:46:52 |
| Message-ID: | E1mCwFY-0000v9-Ek@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2021-08-09 03:48:03 | pgsql: Use ExplainPropertyInteger for queryid in EXPLAIN |
| Previous Message | Amit Kapila | 2021-08-09 03:39:26 | pgsql: Fix typo in 022_twophase_cascade.pl. |