Commit 0201d79a authored by Alvaro Herrera's avatar Alvaro Herrera

Avoid re-typedef'ing PartitionTupleRouting

Apparently, gcc on macOS (?) doesn't like it.

Per buildfarm.
parent 40923191
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
* Memory context used to allocate subsidiary structs. * Memory context used to allocate subsidiary structs.
*----------------------- *-----------------------
*/ */
typedef struct PartitionTupleRouting struct PartitionTupleRouting
{ {
Relation partition_root; Relation partition_root;
PartitionDispatch *partition_dispatch_info; PartitionDispatch *partition_dispatch_info;
...@@ -93,7 +93,7 @@ typedef struct PartitionTupleRouting ...@@ -93,7 +93,7 @@ typedef struct PartitionTupleRouting
int max_partitions; int max_partitions;
HTAB *subplan_resultrel_htab; HTAB *subplan_resultrel_htab;
MemoryContext memcxt; MemoryContext memcxt;
} PartitionTupleRouting; };
/*----------------------- /*-----------------------
* PartitionDispatch - information about one partitioned table in a partition * PartitionDispatch - information about one partitioned table in a partition
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment