Avoid re-typedef'ing PartitionTupleRouting

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

Per buildfarm.
This commit is contained in:
Alvaro Herrera 2018-11-16 16:55:44 -03:00
parent 4092319194
commit 0201d79a55

View File

@ -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
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