From 1aba5a8b605023ea2993faf98869b7be2860fc53 Mon Sep 17 00:00:00 2001 From: Henson Choi Date: Tue, 5 May 2026 17:21:56 +0900 Subject: [PATCH 06/11] Add trailing commas to RPR enum definitions RPRNavKind, RPRNavOffsetKind, RPRPatternNodeType lacked a trailing comma on the last enumerator, contrary to project coding style. --- src/include/nodes/parsenodes.h | 4 ++-- src/include/nodes/primnodes.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h index 455db2cec61..adefb1d5bad 100644 --- a/src/include/nodes/parsenodes.h +++ b/src/include/nodes/parsenodes.h @@ -604,7 +604,7 @@ typedef enum RPRNavOffsetKind RPR_NAV_OFFSET_FIXED, /* resolved constant; use the offset value */ RPR_NAV_OFFSET_NEEDS_EVAL, /* non-constant offset; evaluate at executor * init */ - RPR_NAV_OFFSET_RETAIN_ALL /* cannot determine; retain all rows (no trim) */ + RPR_NAV_OFFSET_RETAIN_ALL, /* cannot determine; retain all rows (no trim) */ } RPRNavOffsetKind; /* @@ -615,7 +615,7 @@ typedef enum RPRPatternNodeType RPR_PATTERN_VAR, /* variable reference */ RPR_PATTERN_SEQ, /* sequence (concatenation) */ RPR_PATTERN_ALT, /* alternation (|) */ - RPR_PATTERN_GROUP /* group (parentheses) */ + RPR_PATTERN_GROUP, /* group (parentheses) */ } RPRPatternNodeType; /* diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h index 656c552b0a8..d7138f5141b 100644 --- a/src/include/nodes/primnodes.h +++ b/src/include/nodes/primnodes.h @@ -684,7 +684,7 @@ typedef enum RPRNavKind RPR_NAV_PREV_FIRST, RPR_NAV_PREV_LAST, RPR_NAV_NEXT_FIRST, - RPR_NAV_NEXT_LAST + RPR_NAV_NEXT_LAST, } RPRNavKind; typedef struct RPRNavExpr -- 2.50.1 (Apple Git-155)