summaryrefslogtreecommitdiff
path: root/src/parser
diff options
context:
space:
mode:
authorTatsuo Ishii2025-12-24 06:46:54 +0000
committerTatsuo Ishii2025-12-24 07:59:56 +0000
commit27bc3ceb418c1d6bb83c21e5fffb4f03b27b1f8e (patch)
tree4c2f3a26d03a0bc4fd6df850ff80002a0093955b /src/parser
parentb0f2054f37fc29fb8d33fe40a337e89e72f0df52 (diff)
Fix duplicate NodeTag enum in nodes.h.HEADmaster
The file was imported from PostgreSQL and Pgpool-II specific node type were added right after T_Invalid = 0, then nodetags.h is included. Since nodetags.h explicitly assign values to each enum starting from 1, and this created duplicated enums. T_List = 1, T_Alias = 2, T_RangeVar = 3, T_PgpoolVariableSetStmt, (1) T_PgpoolVariableShowStmt, (2) T_PgpoolQueryCacheStmt, (3) Although fortunately this seems does not create any trouble except the duplicated enums, this should be fixed: moving the inclusion of nodetags.h right after "T_invalid = 0". Reported-by: liujinyang-highgo Diagnosed-by: liujinyang-highgo Discussion: https://github.com/pgpool/pgpool2/issues/138 Backpatch-through: v4.5
Diffstat (limited to 'src/parser')
0 files changed, 0 insertions, 0 deletions