On 2019/03/26 0:21, Robert Haas wrote:
> On Wed, Mar 20, 2019 at 12:37 AM Amit Langote
> <Langote_Amit_f8(at)lab(dot)ntt(dot)co(dot)jp> wrote:
>> That's because get_relation_constraints() no longer (as of PG 11) includes
>> the partition constraint for SELECT queries.
>
> What commit made that change?
That would be 9fdb675fc5d2 (faster partition pruning) that got into PG 11.
> This sounds to me like maybe it should be an open item.
I've added this under Older Bugs.
Thanks,
Amit