From 0201d79a5549e3375ea5e5aee351378399453f15 Mon Sep 17 00:00:00 2001 From: Alvaro Herrera Date: Fri, 16 Nov 2018 16:55:44 -0300 Subject: [PATCH] Avoid re-typedef'ing PartitionTupleRouting Apparently, gcc on macOS (?) doesn't like it. Per buildfarm. --- src/backend/executor/execPartition.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c index e3cb4fb1be..ec5628c9c2 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 -- 2.40.0