Add missing enum tags in enums used in nodes
authorPeter Eisentraut
Wed, 21 Jul 2021 09:03:25 +0000 (11:03 +0200)
committerPeter Eisentraut
Wed, 21 Jul 2021 09:03:25 +0000 (11:03 +0200)
Discussion: https://www.postgresql.org/message-id/flat/c1097590-a6a4-486a-64b1-e1f9cc0533ce@enterprisedb.com

src/include/nodes/parsenodes.h
src/include/nodes/pathnodes.h
src/include/nodes/primnodes.h

index def9651b341c90d7b032d5a9bd36eda65b34276a..947660a4b0196c19b42efea7a3866209c6070110 100644 (file)
@@ -1337,7 +1337,7 @@ typedef struct SortGroupClause
  *
  * SETS( SIMPLE(1,2), CUBE( SIMPLE(3), SIMPLE(4,5) ) )
  */
-typedef enum
+typedef enum GroupingSetKind
 {
    GROUPING_SET_EMPTY,
    GROUPING_SET_SIMPLE,
@@ -2124,7 +2124,7 @@ typedef struct CopyStmt
  * preserve the distinction in VariableSetKind for CreateCommandTag().
  * ----------------------
  */
-typedef enum
+typedef enum VariableSetKind
 {
    VAR_SET_VALUE,              /* SET var = value */
    VAR_SET_DEFAULT,            /* SET var TO DEFAULT */
index a692bcfb53a445241766e7212cac5a7b8b1810a2..e20c245f98a949663656cf84022f761868a4952c 100644 (file)
@@ -1525,7 +1525,7 @@ typedef struct MemoizePath
  * it's convenient to have a UniquePath in the path tree to signal upper-level
  * routines that the input is known distinct.)
  */
-typedef enum
+typedef enum UniquePathMethod
 {
    UNIQUE_PATH_NOOP,           /* input is known unique already */
    UNIQUE_PATH_HASH,           /* use hashing */
index 996c3e40160a426bbfd06a2b1ac945a9f9c6b8d6..c04282f91fd417562d2b69f9a95bca04e8d03585 100644 (file)
@@ -1215,7 +1215,7 @@ typedef enum XmlExprOp
    IS_DOCUMENT                 /* xmlval IS DOCUMENT */
 } XmlExprOp;
 
-typedef enum
+typedef enum XmlOptionType
 {
    XMLOPTION_DOCUMENT,
    XMLOPTION_CONTENT