Thread: pgsql/src backend/commands/analyze.c backend/c ...

pgsql/src backend/commands/analyze.c backend/c ...

From
Tom Lane
Date:
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.org    01/06/13 17:44:41

Modified files:
    src/backend/commands: analyze.c comment.c define.c indexcmds.c
                          proclang.c vacuum.c
    src/backend/libpq: be-fsstubs.c
    src/backend/utils/misc: superuser.c
    src/include/catalog: pg_shadow.h
    src/include    : miscadmin.h

Log message:
    Allow a non-superuser database owner to vacuum all tables in his
    database, including system catalogs (but not the shared catalogs,
    since they don't really belong to his database).  This is per recent
    mailing list discussion.  Clean up some other code that also checks
    for database ownerness by introducing a test function is_dbadmin().