Improve objectNamesToOids() comment

Peter Eisentraut <peter@eisentraut.org>

Commit: 118601a7e8c088306fe952ff298afd687483b35e
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2025-08-27T15:33:54Z
Releases: 18.0
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