pgsql: Restrict pg_relation_size to relation owner, pg_database_size to

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Restrict pg_relation_size to relation owner, pg_database_size to
Дата
Msg-id 20070827011914.A1BCD7541FB@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Restrict pg_relation_size to relation owner, pg_database_size to DB owner,
and pg_tablespace_size to superusers.  Perhaps we could weaken the first
case to just require SELECT privilege, but that doesn't work for the
other cases, so use ownership as the common concept.

Modified Files:
--------------
    pgsql/src/backend/utils/adt:
        dbsize.c (r1.12 -> r1.13)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/utils/adt/dbsize.c?r1=1.12&r2=1.13)

В списке pgsql-committers по дате отправления:

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Make currtid() functions require SELECT privileges on the target
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Require SELECT privilege on a table to do dblink_get_pkey().