summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2021-06-28 11:05:54 -0400
committerAndrew Dunstan <andrew@dunslane.net>2021-06-28 11:05:54 -0400
commite1c1c30f635390b6a3ae4993e8cac213a33e6e3f (patch)
treef91c0903c634bcbe7b06c4548af82d6e351e2090 /src/include
parentc31833779d5a4775d7220be4b9143bec66c9a9fd (diff)
Pre branch pgindent / pgperltidy run
Along the way make a slight adjustment to src/include/utils/queryjumble.h to avoid an unused typedef.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/nodes/execnodes.h2
-rw-r--r--src/include/utils/queryjumble.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/include/nodes/execnodes.h b/src/include/nodes/execnodes.h
index 9a5ca7b3dbf..0ec5509e7e9 100644
--- a/src/include/nodes/execnodes.h
+++ b/src/include/nodes/execnodes.h
@@ -462,7 +462,7 @@ typedef struct ResultRelInfo
/* batch insert stuff */
int ri_NumSlots; /* number of slots in the array */
- int ri_NumSlotsInitialized; /* number of initialized slots */
+ int ri_NumSlotsInitialized; /* number of initialized slots */
int ri_BatchSize; /* max slots inserted in a single batch */
TupleTableSlot **ri_Slots; /* input tuples for batch insert */
TupleTableSlot **ri_PlanSlots;
diff --git a/src/include/utils/queryjumble.h b/src/include/utils/queryjumble.h
index 1f4d062babd..7af6652f3e0 100644
--- a/src/include/utils/queryjumble.h
+++ b/src/include/utils/queryjumble.h
@@ -53,12 +53,12 @@ typedef struct JumbleState
} JumbleState;
/* Values for the compute_query_id GUC */
-typedef enum
+enum ComputeQueryIdType
{
COMPUTE_QUERY_ID_OFF,
COMPUTE_QUERY_ID_ON,
COMPUTE_QUERY_ID_AUTO
-} ComputeQueryIdType;
+};
/* GUC parameters */
extern int compute_query_id;