Re: Remove unnecessary code rom be_lo_put() - Mailing list pgsql-hackers

From Yugo NAGATA
Subject Re: Remove unnecessary code rom be_lo_put()
Date
Msg-id 20240425174155.79e286c508e6f0b827feccef@sraoss.co.jp
Whole thread Raw
In response to Re: Remove unnecessary code rom be_lo_put()  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Thu, 25 Apr 2024 10:26:41 +0200
Peter Eisentraut <peter@eisentraut.org> wrote:

> On 24.04.24 15:25, Tom Lane wrote:
> > Peter Eisentraut <peter@eisentraut.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?
> 
> done
> 

Thank you!

Regards,
Yugo Nagata


-- 
Yugo NAGATA <nagata@sraoss.co.jp>



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Remove unnecessary code rom be_lo_put()
Next
From: "Andrey M. Borodin"
Date:
Subject: Re: broken reading on standby (PostgreSQL 16.2)