From: | Richard Guo <guofenglinux(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Robert Haas <robertmhaas(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Reduce "Var IS [NOT] NULL" quals during constant folding |
Date: | 2025-03-26 02:16:26 |
Message-ID: | CAMbWs4_vXxe52dHyCQ1qrts5zyY61mcJn=URa+JSYdJT5UqxuQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Mar 23, 2025 at 6:25 PM Richard Guo <guofenglinux(at)gmail(dot)com> wrote:
> On Sat, Mar 22, 2025 at 2:21 AM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > The way to make this work is what I said before: move the planner's
> > collection of relation information to somewhere a bit earlier in
> > the planner. But not to outside the planner.
> I'm considering moving the collection of attnotnull information before
> pull_up_sublinks, in hopes of leveraging this info to pull up NOT IN
> in the future, something like attached.
Here is an updated version of the patch with some cosmetic changes and
a more readable commit message. I'm wondering if it's good enough to
be pushed. Any comments?
Thanks
Richard
Attachment | Content-Type | Size |
---|---|---|
v3-0001-Reduce-Var-IS-NOT-NULL-quals-during-constant-folding.patch | application/octet-stream | 27.6 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2025-03-26 02:43:13 | Re: Proposal - Allow extensions to set a Plan Identifier |
Previous Message | Corey Huinker | 2025-03-26 01:41:25 | Re: Statistics Import and Export |