Re: Remove unnecessary code rom be_lo_put()

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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-25 08:26:41
Message-ID: 6aa7bb40-ff8c-46ec-9165-e932e4f585c1@eisentraut.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 24.04.24 15:25, Tom Lane wrote:
> 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?

done

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Yugo NAGATA 2024-04-25 08:41:55 Re: Remove unnecessary code rom be_lo_put()
Previous Message Peter Eisentraut 2024-04-25 08:17:00 Re: Remove unnecessary code rom be_lo_put()