Re: Bug in check for unreachable MERGE WHEN clauses - Mailing list pgsql-hackers

From Dean Rasheed
Subject Re: Bug in check for unreachable MERGE WHEN clauses
Date
Msg-id CAEZATCXc6Po_TKCm3br-M87K3wMOm2Ow9=CiEHb3Xp9+iGPW3Q@mail.gmail.com
Whole thread Raw
In response to Bug in check for unreachable MERGE WHEN clauses  (Dean Rasheed <dean.a.rasheed@gmail.com>)
List pgsql-hackers
On Mon, 2 Jan 2023 at 12:13, Dean Rasheed <dean.a.rasheed@gmail.com> wrote:
>
> Re-reading my latest MERGE patch, I realised there is a trivial,
> pre-existing bug in the check for unreachable WHEN clauses, which
> means it won't spot an unreachable WHEN clause if it doesn't have an
> AND condition.
>
> So the checks need to be re-ordered, as in the attached.
>

Pushed and back-patched.

Regards,
Dean



pgsql-hackers by date:

Previous
From: "Takamichi Osumi (Fujitsu)"
Date:
Subject: RE: Time delayed LR (WAS Re: logical replication restrictions)
Next
From: "Takamichi Osumi (Fujitsu)"
Date:
Subject: RE: Time delayed LR (WAS Re: logical replication restrictions)