Thread: pgsql-server/ ontrib/dbsize/dbsize.c oc/src/sg ...

pgsql-server/ ontrib/dbsize/dbsize.c oc/src/sg ...

From
tgl@postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@postgresql.org    02/08/09 12:45:17

Modified files:
    contrib/dbsize : dbsize.c
    doc/src/sgml   : func.sgml
    src/backend/catalog: namespace.c
    src/backend/commands: comment.c dbcommands.c
    src/backend/utils/adt: acl.c sets.c
    src/backend/utils/misc: superuser.c
    src/include/catalog: catversion.h pg_proc.h
    src/include/commands: dbcommands.h
    src/include/utils: builtins.h

Log message:
    has_table_privilege spawns scions has_database_privilege, has_function_privilege,
    has_language_privilege, has_schema_privilege to let SQL queries test
    all the new privilege types in 7.3.  Also, add functions pg_table_is_visible,
    pg_type_is_visible, pg_function_is_visible, pg_operator_is_visible,
    pg_opclass_is_visible to test whether objects contained in schemas are
    visible in the current search path.  Do some minor cleanup to centralize
    accesses to pg_database, as well.