Improve objectNamesToOids() comment
authorPeter Eisentraut <[email protected]>
Wed, 27 Aug 2025 14:46:51 +0000 (16:46 +0200)
committerPeter Eisentraut <[email protected]>
Wed, 27 Aug 2025 15:33:54 +0000 (17:33 +0200)
commit118601a7e8c088306fe952ff298afd687483b35e
tree0a331ed107820a6b984aca109dd19e7f36f2ef14
parentd07e2d4237cb2972d396a5b1f338457db9a21a2c
Improve objectNamesToOids() comment

Commit d31bbfb6590 removed the comment at objectNamesToOids() that
there is no locking, because that commit added locking.  But to fix
all the problems, we'd still need a stronger lock.  So put the comment
back with more a detailed explanation.

Co-authored-by: Noah Misch <[email protected]>
Reviewed-by: Heikki Linnakangas <[email protected]>
Discussion: https://www.postgresql.org/message-id/flat/bf72b82c-124d-4efa-a484-bb928e9494e4@eisentraut.org
src/backend/catalog/aclchk.c