Re: Remove unnecessary code rom be_lo_put()

Поиск
Список
Период
Сортировка
От Yugo NAGATA
Тема Re: Remove unnecessary code rom be_lo_put()
Дата
Msg-id 20240425174155.79e286c508e6f0b827feccef@sraoss.co.jp
обсуждение исходный текст
Ответ на Re: Remove unnecessary code rom be_lo_put()  (Peter Eisentraut <peter@eisentraut.org>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: Remove unnecessary code rom be_lo_put()
Следующее
От: "Andrey M. Borodin"
Дата:
Сообщение: Re: broken reading on standby (PostgreSQL 16.2)