Re: [HACKERS] path toward faster partition pruning
От | Amit Langote |
---|---|
Тема | Re: [HACKERS] path toward faster partition pruning |
Дата | |
Msg-id | 24ee4d34-71c9-12e2-688e-dda86cb83f6e@lab.ntt.co.jp обсуждение исходный текст |
Ответ на | Re: [HACKERS] path toward faster partition pruning (Rajkumar Raghuwanshi <rajkumar.raghuwanshi@enterprisedb.com>) |
Список | pgsql-hackers |
Hi Rajkumar, Thanks for testing. On 2017/11/08 15:52, Rajkumar Raghuwanshi wrote: > On Mon, Nov 6, 2017 at 3:31 PM, Amit Langote <Langote_Amit_f8@lab.ntt.co.jp> > wrote: > >> Attached updated set of patches, including the fix to make the new pruning >> code handle Boolean partitioning. >> > > Hi Amit, > > I have tried pruning for different values of constraint exclusion GUC > change, not sure exactly how it should behave, but I can see with the > delete statement pruning is not happening when constraint_exclusion is off, > but select is working as expected. Is this expected behaviour? Hmm, the new pruning only works for selects, not DML. The patch also changes get_relation_constraints() to not include the internal partition constraints, but mistakenly does so for all query types, not just select. Will look into it. Thanks, Amit -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers
В списке pgsql-hackers по дате отправления: