Re: Remove unnecessary code rom be_lo_put()

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: Yugo NAGATA <nagata(at)sraoss(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Remove unnecessary code rom be_lo_put()
Date: 2024-04-24 13:25:09
Message-ID: 3683459.1713965109@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter(at)eisentraut(dot)org> writes:
> On 24.04.24 11:59, Yugo NAGATA wrote:
>> I noticed that a permission check is performed in be_lo_put()
>> just after returning inv_open(), but teh permission should be
>> already checked in inv_open(), so I think we can remove this
>> part of codes. I attached a patch for this fix.

> Yes, I think you are right.

I agree. Do you want to do the honors?

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-04-24 13:57:04 Re: Small filx on the documentation of ALTER DEFAULT PRIVILEGES
Previous Message Bharath Rupireddy 2024-04-24 12:49:40 Introduce new multi insert Table AM and improve performance of various SQL commands with it for Heap AM