Add explicit initialization for all PlannerGlobal fields When creating a new PlannerGlobal node in standard_planner(), most fields are explicitly initialized, but a few are not. This doesn't cause any functional issues, as makeNode() zeroes all fields by default. However, the inconsistency is undesirable from a clarity and maintenance perspective.
This patch explicitly initializes the remaining fields to improve consistency and readability. Author: Richard Guo <[email protected]> Reviewed-by: David Rowley <[email protected]> Discussion: https://postgr.es/m/cambws4-tgqhnoiouqgcuhobqbjjwyx4uxgkxuy3frf4trgb...@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/2c0ed86d393670c7054d051490063de771f1791e Modified Files -------------- src/backend/optimizer/plan/planner.c | 5 +++++ 1 file changed, 5 insertions(+)
