| From: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
| Cc: | Phil Florent <philflorent(at)hotmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: Internal error XX000 with enable_partition_pruning=on, pg 11 beta1 on Debian |
| Date: | 2018-06-08 18:50:19 |
| Message-ID: | CAKJS1f9_iDOh8Wjckb_mMEa5657TuZSYHjuL6A-f85bX5yOdyg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 9 June 2018 at 04:57, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> Phil Florent <philflorent(at)hotmail(dot)com> writes:
>> explain analyze select * from v where v.k1 > date '2017-01-01';
>> ERREUR: XX000: did not find all requested child rels in append_rel_list
>> EMPLACEMENT : find_appinfos_by_relids, prepunion.c : 2643
>
> Reproduced here, thanks for the report! This is very timely since
> we were just in process of rewriting that code anyway ...
Yeah. Thanks for the report Phil.
It looks like this was 499be013de6, which was one of mine.
A more simple case to reproduce is:
drop table listp;
create table listp (a int, b int) partition by list(a);
create table listp1 partition of listp for values in (1);
select * from (select * from listp union all select * from listp) t where a = 1;
I'll look in more detail after sleeping.
--
David Rowley http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2018-06-08 18:52:40 | Re: Performance regression with PostgreSQL 11 and partitioning |
| Previous Message | Tom Lane | 2018-06-08 18:41:41 | Re: pl/tcl function to detect when a request has been canceled |