summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlvaro Herrera2018-11-16 19:55:44 +0000
committerAlvaro Herrera2018-11-16 19:55:53 +0000
commit0201d79a5549e3375ea5e5aee351378399453f15 (patch)
treeef3662f920fdf227dd438afe8608b37c79921e25 /src
parent409231919443984635b7ae9b7e2e261ab984eb1e (diff)
Avoid re-typedef'ing PartitionTupleRouting
Apparently, gcc on macOS (?) doesn't like it. Per buildfarm.
Diffstat (limited to 'src')
-rw-r--r--src/backend/executor/execPartition.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c
index e3cb4fb1bee..ec5628c9c2c 100644
--- a/src/backend/executor/execPartition.c
+++ b/src/backend/executor/execPartition.c
@@ -82,7 +82,7 @@
* Memory context used to allocate subsidiary structs.
*-----------------------
*/
-typedef struct PartitionTupleRouting
+struct PartitionTupleRouting
{
Relation partition_root;
PartitionDispatch *partition_dispatch_info;
@@ -93,7 +93,7 @@ typedef struct PartitionTupleRouting
int max_partitions;
HTAB *subplan_resultrel_htab;
MemoryContext memcxt;
-} PartitionTupleRouting;
+};
/*-----------------------
* PartitionDispatch - information about one partitioned table in a partition