Remove unnecessary code from be_lo_put()
Peter Eisentraut <peter@eisentraut.org>
Remove unnecessary code from be_lo_put() A permission check is performed in be_lo_put() just after returning from inv_open(), but the permission is already checked in inv_open(), so we can remove the second check. This check was added in 8d9881911f0, but then the refactoring in ae20b23a9e7 should have removed it. Author: Yugo NAGATA <nagata@sraoss.co.jp> Discussion: https://www.postgresql.org/message-id/flat/20240424185932.9789628b99a49ec81b020425%40sraoss.co.jp
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/be-fsstubs.c | modified | +0 −12 |
Discussion
- Remove unnecessary code rom be_lo_put() 7 messages · 2024-04-24 → 2024-04-25