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

From: David Rowley <dgrowleyml(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: buschmann(at)nidsa(dot)net, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org>
Subject: Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1
Date: 2021-05-23 12:58:10
Message-ID: CAApHDvps2VmHUve67qtg9F9nepbgGnybnSbvopRtp8crngc2cg@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On Mon, 24 May 2021 at 00:47, David Rowley <dgrowleyml(at)gmail(dot)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 not addressed the join.sql regression test changes in the patch yet.

David

Attachment Content-Type Size
set_upper_references_for_resultcache.patch application/octet-stream 527 bytes

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message David Rowley 2021-05-24 03:47:23 Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1
Previous Message David Rowley 2021-05-23 12:47:59 Re: BUG #17030: ERROR: cannot decompile join alias var in plan tree introduced in pg14beta1