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

From Peter Eisentraut
Subject Re: Remove unnecessary code rom be_lo_put()
Date
Msg-id 58c20beb-6b2d-4a70-875c-3b39242abbbd@eisentraut.org
Whole thread Raw
In response to Remove unnecessary code rom be_lo_put()  (Yugo NAGATA <nagata@sraoss.co.jp>)
Responses Re: Remove unnecessary code rom be_lo_put()
List pgsql-hackers
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.

This check was added in 8d9881911f0, but then the refactoring in 
ae20b23a9e7 should probably have removed it.




pgsql-hackers by date:

Previous
From: Andrew Dunstan
Date:
Subject: Re: Why does pgindent's README say to download typedefs.list from the buildfarm?
Next
From: Hans Buschmann
Date:
Subject: Proposal: Early providing of PGDG repositories for the major Linux distributions like Fedora or Debian