Re: Remove unnecessary code rom be_lo_put()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: 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 10:41:06
Message-ID: 58c20beb-6b2d-4a70-875c-3b39242abbbd@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Hans Buschmann 2024-04-24 11:02:18 Proposal: Early providing of PGDG repositories for the major Linux distributions like Fedora or Debian
Previous Message Andrew Dunstan 2024-04-24 10:37:00 Re: Why does pgindent's README say to download typedefs.list from the buildfarm?