pgsql: Improve objectNamesToOids() comment

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Improve objectNamesToOids() comment
Date: 2025-08-27 15:54:37
Message-ID: E1urITt-001wB5-0d@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)leadboat(dot)com>
Reviewed-by: Heikki Linnakangas <hlinnaka(at)iki(dot)fi>
Discussion: https://www.postgresql.org/message-id/flat/bf72b82c-124d-4efa-a484-bb928e9494e4(at)eisentraut(dot)org

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/e36fa9319b1366ee0194e130a9a77c4af7ee1853

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

Browse pgsql-committers by date

  From Date Subject
Next Message Andres Freund 2025-08-27 23:16:07 pgsql: aio: Stop using enum bitfields due to bad code generation
Previous Message Peter Eisentraut 2025-08-27 14:17:09 pgsql: Fix: Don't strip $libdir from nested module_pathnames