Improve objectNamesToOids() comment

Peter Eisentraut <peter@eisentraut.org>

Commit: e36fa9319b1366ee0194e130a9a77c4af7ee1853
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-27T15:46:26Z
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 <noah@leadboat.com>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://www.postgresql.org/message-id/flat/bf72b82c-124d-4efa-a484-bb928e9494e4@eisentraut.org

Files

PathChange+/−
src/backend/catalog/aclchk.c modified +14 −0

Discussion