Use ExplainPropertyInteger for queryid in EXPLAIN

David Rowley <drowley@postgresql.org>

Commit: c26552f4fc4fb72c64103ea877ea3c2a251856ad
Author: David Rowley <drowley@postgresql.org>
Date: 2021-08-09T03:46:28Z
Releases: 14.0
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

Files

PathChange+/−
src/backend/commands/explain.c modified +6 −4

Discussion