Re: Partition-wise join for join between (declaratively) partitioned tables
От | Rajkumar Raghuwanshi |
---|---|
Тема | Re: Partition-wise join for join between (declaratively) partitioned tables |
Дата | |
Msg-id | CAKcux6=LN9GaJmXoTsz0=0fs0+SnSPXfQiKEeOsgDHfTJMLFBw@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Partition-wise join for join between (declaratively) partitioned tables (Ashutosh Bapat <ashutosh.bapat@enterprisedb.com>) |
Ответы |
Re: Partition-wise join for join between (declaratively)
partitioned tables
|
Список | pgsql-hackers |
On Tue, Sep 20, 2016 at 4:26 PM, Ashutosh Bapat <ashutosh.bapat@enterprisedb.com> wrote:
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; */
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 по дате отправления: