Re: Reduce "Var IS [NOT] NULL" quals during constant folding

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>, Peter Eisentraut <peter(at)eisentraut(dot)org>, David Rowley <dgrowleyml(at)gmail(dot)com>, Tender Wang <tndrwang(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-05-28 09:28:42
Message-ID: CAMbWs4-7D4L=74y5YmgLp5pm0cL_oH+cOWjT1-ZxP_Cc6t+SJQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Thu, May 22, 2025 at 11:51 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> BTW, in my mind the current thread is certainly v19 material,
> so I have not looked at Richard's patch yet.

Yeah, this patchset is targeted for v19. Maybe we could be more
aggressive and have 0001 and 0002 in v18? (no chance for 0003 though)

This patchset does not apply anymore due to 2c0ed86d3. Here is a new
rebase.

Thanks
Richard

Attachment Content-Type Size
v5-0001-Expand-virtual-generated-columns-before-sublink-p.patch application/octet-stream 9.1 KB
v5-0002-Centralize-collection-of-catalog-info-needed-earl.patch application/octet-stream 15.8 KB
v5-0003-Reduce-Var-IS-NOT-NULL-quals-during-constant-fold.patch application/octet-stream 31.0 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Dean Rasheed 2025-05-28 09:55:50 Re: PG 18 release notes draft committed
Previous Message Tender Wang 2025-05-28 09:26:33 Re: ALTER TABLE ALTER CONSTRAINT misleading error message