Re: Partition-wise join for join between (declaratively) partitioned tables - Mailing list pgsql-hackers

From Rajkumar Raghuwanshi
Subject Re: Partition-wise join for join between (declaratively) partitioned tables
Date
Msg-id CAKcux6=LN9GaJmXoTsz0=0fs0+SnSPXfQiKEeOsgDHfTJMLFBw@mail.gmail.com
Whole thread Raw
In response to Re: Partition-wise join for join between (declaratively) partitioned tables  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
Responses Re: Partition-wise join for join between (declaratively) partitioned tables  (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>)
List pgsql-hackers
On Tue, Sep 20, 2016 at 4:26 PM, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> wrote:
PFA patch which takes care of some of the TODOs mentioned in my
previous mail. The patch is based on the set of patches supporting
declarative partitioning by Amit Langoted posted on 26th August.

I have applied declarative partitioning patches posted by Amit Langote on 26 Aug 2016 and then latest partition-wise-join patch,  getting below error while make install.

../../../../src/include/catalog/partition.h:37: error: redefinition of typedef ‘PartitionScheme’
../../../../src/include/nodes/relation.h:492: note: previous declaration of ‘PartitionScheme’ was here
make[4]: *** [commit_ts.o] Error 1
make[4]: Leaving directory `/home/edb/Desktop/edb_work/WORKDB/PG_PWJ/postgresql/src/backend/access/transam'
make[3]: *** [transam-recursive] Error 2
make[3]: Leaving directory `/home/edb/Desktop/edb_work/WORKDB/PG_PWJ/postgresql/src/backend/access'
make[2]: *** [access-recursive] Error 2
make[2]: Leaving directory `/home/edb/Desktop/edb_work/WORKDB/PG_PWJ/postgresql/src/backend'
make[1]: *** [all-backend-recurse] Error 2
make[1]: Leaving directory `/home/edb/Desktop/edb_work/WORKDB/PG_PWJ/postgresql/src'
make: *** [all-src-recurse] Error 2

PS : I am using - gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-17)

I have commented below statement in src/include/catalog/partition.h file and then tried to install, it worked fine.

/* typedef struct PartitionSchemeData    *PartitionScheme; */

Thanks & Regards,
Rajkumar Raghuwanshi

pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: README of hash index
Next
From: Ashutosh Bapat
Date:
Subject: Re: Declarative partitioning - another take