Re: pgsql: Allow partitionwise joins in more cases.

2020-04-07 Thread Jeff Davis
On Wed, 2020-04-08 at 01:27 +, Etsuro Fujita wrote: > Allow partitionwise joins in more cases. This is causing a compiler warning for me if building without Asserts: partbounds.c: In function ‘partition_bounds_merge’: partbounds.c:1024:21: warning: unused variable ‘inner_binfo’ [-Wunused- var

pgsql: Allow partitionwise joins in more cases.

2020-04-07 Thread Etsuro Fujita
Allow partitionwise joins in more cases. Previously, the partitionwise join technique only allowed partitionwise join when input partitioned tables had exactly the same partition bounds. This commit extends the technique to some cases when the tables have different partition bounds, by using an a