Re: [HACKERS] path toward faster partition pruning

From: Marina Polyakova <m(dot)polyakova(at)postgrespro(dot)ru>
To: Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>
Cc: Amit Langote <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp>, Amit Langote <amitlangote09(at)gmail(dot)com>, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>, Dilip Kumar <dilipbalaut(at)gmail(dot)com>, Ashutosh Bapat <ashutosh(dot)bapat(at)enterprisedb(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: [HACKERS] path toward faster partition pruning
Date: 2018-05-10 09:36:22
Message-ID: 2b090dc6b6af19f1b20c32f8db5ab32e@postgrespro.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 09-05-2018 17:30, Alvaro Herrera wrote:
> Marina Polyakova wrote:
>> Hello everyone in this thread!
>
>> I got a similar server crash as in [1] on the master branch since the
>> commit
>> 9fdb675fc5d2de825414e05939727de8b120ae81 when the assertion fails
>> because
>> the second argument ScalarArrayOpExpr is not a Const or an ArrayExpr,
>> but is
>> an ArrayCoerceExpr (see [2]):
>
> Hello Marina, thanks for reporting this. I have pushed all fixes
> derived from this report -- thanks to Amit and Michaël for those.
> I verified your test case no longer crashes. If you have more
> elaborate
> test cases, please do try these too.

Hello, thank you all very much! :)

--
Marina Polyakova
Postgres Professional: http://www.postgrespro.com
The Russian Postgres Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message David Rowley 2018-05-10 09:56:09 Re: Needless additional partition check in INSERT?
Previous Message Ashutosh Bapat 2018-05-10 08:58:11 Test for trigger condition accessing system attributes