Re: equalPolicy() doesn't compare the permissive flag - Mailing list pgsql-hackers

From Michael Paquier
Subject Re: equalPolicy() doesn't compare the permissive flag
Date
Msg-id albdS5u5Kb3Pvy5x@paquier.xyz
Whole thread
In response to Re: equalPolicy() doesn't compare the permissive flag  (Laurenz Albe <laurenz.albe@cybertec.at>)
List pgsql-hackers
On Mon, Jul 13, 2026 at 09:49:09AM +0200, Laurenz Albe wrote:
> I just wasn't sure if the omission was intentional or not;
> your research says it was a mistake.

The CREATE/DROP requirement makes this issue less of a problem as it
means that a relcache invalidation would happen between the two
queries and we lock the objects, still missing the check was feeling
contrary to the API promise, so applied and backpatched down.
--
Michael

Attachment

pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: PlaceholderVars and join removal with appendrel parents
Next
From: Michael Paquier
Date:
Subject: Re: Fix FSM range endpoint after relation extension