Re: equalPolicy() doesn't compare the permissive flag

From: Michael Paquier <michael(at)paquier(dot)xyz>
To: Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>
Cc: Andreas Lind <andreaslindpetersen(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: equalPolicy() doesn't compare the permissive flag
Date: 2026-07-15 01:07:23
Message-ID: albdS5u5Kb3Pvy5x@paquier.xyz
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Paquier 2026-07-15 01:10:58 Re: Fix FSM range endpoint after relation extension
Previous Message Richard Guo 2026-07-15 00:30:11 Re: PlaceholderVars and join removal with appendrel parents