summaryrefslogtreecommitdiff
path: root/src/backend/commands/statscmds.c
diff options
context:
space:
mode:
authorRichard Guo2025-05-14 00:59:31 +0000
committerRichard Guo2025-05-14 00:59:31 +0000
commit2c0ed86d393670c7054d051490063de771f1791e (patch)
tree7420f271aa8e04da751e0bde88a62a52faffcc95 /src/backend/commands/statscmds.c
parent6e289f2d5da02b450f00fb57f0facc60bd73c0d1 (diff)
Add explicit initialization for all PlannerGlobal fieldsHEADmaster
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-TgQHNOiouqGcuHoBqbJjWyx4UxGKxUY3FrF4trGbcPA@mail.gmail.com
Diffstat (limited to 'src/backend/commands/statscmds.c')
0 files changed, 0 insertions, 0 deletions