Re: Remove unnecessary code rom be_lo_put()

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема Re: Remove unnecessary code rom be_lo_put()
Дата
Msg-id 58c20beb-6b2d-4a70-875c-3b39242abbbd@eisentraut.org
обсуждение исходный текст
Ответ на Remove unnecessary code rom be_lo_put()  (Yugo NAGATA <nagata@sraoss.co.jp>)
Ответы Re: Remove unnecessary code rom be_lo_put()  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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 по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: Why does pgindent's README say to download typedefs.list from the buildfarm?
Следующее
От: Hans Buschmann
Дата:
Сообщение: Proposal: Early providing of PGDG repositories for the major Linux distributions like Fedora or Debian