Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1

Поиск
Список
Период
Сортировка
От David Rowley
Тема Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1
Дата
Msg-id CAApHDvrTaSE2c1y0C2wmxhFCUK2wu6LXB9prW4s=M0syDGpqQw@mail.gmail.com
обсуждение исходный текст
Ответ на Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1  (David Rowley <dgrowleyml@gmail.com>)
Ответы AW: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1  (Hans Buschmann <buschmann@nidsa.net>)
Список pgsql-bugs
On Mon, 24 May 2021 at 00:58, David Rowley <dgrowleyml@gmail.com> wrote:
>
> On Mon, 24 May 2021 at 00:47, David Rowley <dgrowleyml@gmail.com> wrote:
> > I can look into this a bit more in the morning. It's not a good time
> > of day right now to debug setrefs.c
>
> It *may* just be a missing call to set_upper_references() for Result
> Cache. i.e. the attached. But I will need to look harder in the
> morning. Following setrefs.c gives me a headache at the best of times.

I've had a look at this today and I think the patch attached is what
needs to be done to fix the issue.

Hans, I see you're on Windows, but wondering if you have a build
environment around to test to see if this patch fixes the error for
your case?

David

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: David Rowley
Дата:
Сообщение: Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1
Следующее
От: Hans Buschmann
Дата:
Сообщение: AW: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1