aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2021-07-21 11:03:25 +0200
committerPeter Eisentraut <peter@eisentraut.org>2021-07-21 11:03:25 +0200
commit983bdc4fac492a99bb8ab5a471ca7437139e5cf6 (patch)
treef71fa5ab648ac8e3dbee62e14498896fc9cd559c
parent31360381f0a5ff5193c3631e6076442352906f59 (diff)
downloadpostgresql-983bdc4fac492a99bb8ab5a471ca7437139e5cf6.tar.gz
postgresql-983bdc4fac492a99bb8ab5a471ca7437139e5cf6.zip
Add missing enum tags in enums used in nodes
Discussion: https://www.postgresql.org/message-id/flat/c1097590-a6a4-486a-64b1-e1f9cc0533ce@enterprisedb.com
-rw-r--r--src/include/nodes/parsenodes.h4
-rw-r--r--src/include/nodes/pathnodes.h2
-rw-r--r--src/include/nodes/primnodes.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/src/include/nodes/parsenodes.h b/src/include/nodes/parsenodes.h
index def9651b341..947660a4b01 100644
--- a/src/include/nodes/parsenodes.h
+++ b/src/include/nodes/parsenodes.h
@@ -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 */
diff --git a/src/include/nodes/pathnodes.h b/src/include/nodes/pathnodes.h
index a692bcfb53a..e20c245f98a 100644
--- a/src/include/nodes/pathnodes.h
+++ b/src/include/nodes/pathnodes.h
@@ -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 */
diff --git a/src/include/nodes/primnodes.h b/src/include/nodes/primnodes.h
index 996c3e40160..c04282f91fd 100644
--- a/src/include/nodes/primnodes.h
+++ b/src/include/nodes/primnodes.h
@@ -1215,7 +1215,7 @@ typedef enum XmlExprOp
IS_DOCUMENT /* xmlval IS DOCUMENT */
} XmlExprOp;
-typedef enum
+typedef enum XmlOptionType
{
XMLOPTION_DOCUMENT,
XMLOPTION_CONTENT