Re: A bug with ExecCheckPermissions - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: A bug with ExecCheckPermissions
Date
Msg-id 20230504175917.vwq46sakb77tudyw@alvherre.pgsql
Whole thread Raw
In response to Re: A bug with ExecCheckPermissions  (Amit Langote <amitlangote09@gmail.com>)
Responses Re: A bug with ExecCheckPermissions
List pgsql-hackers
On 2023-Mar-09, Amit Langote wrote:

> On Thu, Mar 9, 2023 at 7:39 PM Alvaro Herrera <alvherre@alvh.no-ip.org> wrote:
> > I didn't like very much this business of setting the perminfoindex
> > directly to '2' and '1'.  It looks ugly with no explanation.  What do
> > you think of creating the as we go along and set each index
> > correspondingly, as in the attached?
> 
> Agree it looks cleaner and self-explanatory that way.  Thanks.

Thanks for looking!  I have pushed it now.  And many thanks to Oleg for
noticing and reporting it.

-- 
Álvaro Herrera               48°01'N 7°57'E  —  https://www.EnterpriseDB.com/



pgsql-hackers by date:

Previous
From: Jehan-Guillaume de Rorthais
Date:
Subject: Re: Memory leak from ExecutorState context?
Next
From: "Jonathan S. Katz"
Date:
Subject: Re: pg_stat_io not tracking smgrwriteback() is confusing