Re: BUG #13875: Error explaining query

From: Michael Paquier <michael(dot)paquier(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: travis(dot)smith(at)iriworldwide(dot)com, PostgreSQL mailing lists <pgsql-bugs(at)postgresql(dot)org>
Subject: Re: BUG #13875: Error explaining query
Date: 2016-01-19 04:25:45
Message-ID: CAB7nPqSxNrqKP8ucnCsvAdVhAubzWXKZh-LaoaZBytC05tXkUA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Tue, Jan 19, 2016 at 1:17 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> This does indeed sound like a bug, but without a self-contained
> test case, there's not a lot we can do about it.

Yeah, I was flattening this test case before you sent this email,
coming with the attached:
create table aa1 (s1 int, m1 int, m2 int);
create table aa2 (key int, attr int, sort int);
explain select count(1) from (SELECT DISTINCT
aa2.attr, aa2.sort,
aa1.m1, aa1.m2 FROM
aa1, aa2 WHERE
(aa1.s1 = 4527492) AND
(aa1.m2 = aa2.key) ORDER BY
aa1.m1 ASC, aa2.sort ASC,
aa1.m2 ASC) t;
But this is proving to work. There is not much doable here without a
self-contained test case...
--
Michael

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Michael Paquier 2016-01-19 04:26:38 Re: BUG #13873: Pg_upgrade problem from 9.4 to 9.5
Previous Message Tom Lane 2016-01-19 04:17:40 Re: BUG #13875: Error explaining query