aboutsummaryrefslogtreecommitdiff
path: root/src/backend/tcop/postgres.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter@eisentraut.org>2024-04-25 10:08:07 +0200
committerPeter Eisentraut <peter@eisentraut.org>2024-04-25 10:08:07 +0200
commit0afa288911d5af7b0f5bd7a1aa09cdea7f02590c (patch)
tree07e242fba3892c24484c8d81b4a001a88ac12c13 /src/backend/tcop/postgres.c
parentaa79bde725650b4cfdce05bcc119008709590af6 (diff)
downloadpostgresql-0afa288911d5af7b0f5bd7a1aa09cdea7f02590c.tar.gz
postgresql-0afa288911d5af7b0f5bd7a1aa09cdea7f02590c.zip
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
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions