Thread: pgsql/src backend/catalog/aclchk.c backend/cat ...

pgsql/src backend/catalog/aclchk.c backend/cat ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql
Changes by:    tgl@postgresql.org    02/04/26 23:45:03

Modified files:
    src/backend/catalog: aclchk.c namespace.c pg_operator.c
    src/backend/commands: aggregatecmds.c comment.c copy.c
                          functioncmds.c indexcmds.c lockcmds.c
                          operatorcmds.c schemacmds.c tablecmds.c
                          trigger.c typecmds.c
    src/backend/executor: execMain.c execQual.c
    src/backend/rewrite: rewriteDefine.c rewriteRemove.c
    src/backend/tcop: utility.c
    src/backend/utils/adt: acl.c
    src/backend/utils/cache: fcache.c lsyscache.c
    src/include/utils: acl.h fcache.h lsyscache.h
    src/test/regress/expected: privileges.out

Log message:
    Restructure aclcheck error reporting to make permission-failure
    messages more uniform and internationalizable: the global array
    aclcheck_error_strings[] is gone in favor of a subroutine
    aclcheck_error().  Partial implementation of namespace-related
    permission checks --- not all done yet.