From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Richard Guo <guofenglinux(at)gmail(dot)com> |
Cc: | tharakan(at)gmail(dot)com, pgsql-bugs(at)lists(dot)postgresql(dot)org |
Subject: | Re: BUG #17768: Assert triggered on initsplan.c |
Date: | 2023-02-03 22:31:21 |
Message-ID: | 1819212.1675463481@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
I wrote:
> I've not looked closely at this, but ... I remember thinking while
> revising deconstruct_jointree that the whole PostponedQual mechanism
> was a wart we should try to get rid of. I didn't touch it since
> I saw no obvious bugs and the patch was too large already, but maybe
> now is the time to try harder.
Here's a draft patch (no test cases as yet) that does it like that.
I think this is morally equivalent to what you did, but perhaps a
bit neater and faster.
regards, tom lane
Attachment | Content-Type | Size |
---|---|---|
move-postponed-quals-into-JoinTreeItem-1.patch | text/x-diff | 19.8 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Danylo Miroshnichenko | 2023-02-04 17:34:19 | Bug Report: INSERT ON CONFLICT sometimes does not work with partial index |
Previous Message | Richard Guo | 2023-02-03 06:10:33 | Re: BUG #17769: Assert triggered in indxpath.c |