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)
Список
Дерево обсуждения
Remove unnecessary code rom be_lo_put() Yugo NAGATA <nagata@sraoss.co.jp>
Re: Remove unnecessary code rom be_lo_put() Peter Eisentraut <peter@eisentraut.org>
Re: Remove unnecessary code rom be_lo_put() Tom Lane <tgl@sss.pgh.pa.us>
Re: Remove unnecessary code rom be_lo_put() Peter Eisentraut <peter@eisentraut.org>
Re: Remove unnecessary code rom be_lo_put() Yugo NAGATA <nagata@sraoss.co.jp>
Re: Remove unnecessary code rom be_lo_put() Michael Paquier <michael@paquier.xyz>
Re: Remove unnecessary code rom be_lo_put() Peter Eisentraut <peter@eisentraut.org>
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
Дата:
От: Hans Buschmann
Дата: