diff options
author | Richard Guo | 2025-05-14 00:59:31 +0000 |
---|---|---|
committer | Richard Guo | 2025-05-14 00:59:31 +0000 |
commit | 2c0ed86d393670c7054d051490063de771f1791e (patch) | |
tree | 7420f271aa8e04da751e0bde88a62a52faffcc95 /src/backend/commands/opclasscmds.c | |
parent | 6e289f2d5da02b450f00fb57f0facc60bd73c0d1 (diff) |
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/opclasscmds.c')
0 files changed, 0 insertions, 0 deletions