git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4092319)
Avoid re-typedef'ing PartitionTupleRouting
2018年11月16日 19:55:44 +0000 (16:55 -0300)
2018年11月16日 19:55:53 +0000 (16:55 -0300)
Apparently, gcc on macOS (?) doesn't like it.

Per buildfarm.


diff --git a/src/backend/executor/execPartition.c b/src/backend/executor/execPartition.c
index e3cb4fb1bee24192ee88a9d2c9cbf8b54f5c4953..ec5628c9c2c517ec1fa6646130571f09d493dfc0 100644 (file)
--- 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
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /