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 <n...@leadboat.com>
Reviewed-by: Heikki Linnakangas <hlinn...@iki.fi>
Discussion: 
https://www.postgresql.org/message-id/flat/bf72b82c-124d-4efa-a484-bb928e949...@eisentraut.org

Branch
------
REL_18_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/118601a7e8c088306fe952ff298afd687483b35e

Modified Files
--------------
src/backend/catalog/aclchk.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)

Reply via email to