pgsql: Restrict pgstattuple functions to superusers.

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Restrict pgstattuple functions to superusers.
Дата
Msg-id 20070828231113.0E07C754201@cvs.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Restrict pgstattuple functions to superusers.  While the only one that's
really a glaring security hole is bt_page_items, there's not a very good
use-case for letting ordinary users use 'em, either.

Tags:
----
REL8_2_STABLE

Modified Files:
--------------
    pgsql/contrib/pgstattuple:
        pgstatindex.c (r1.2.2.2 -> r1.2.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstatindex.c?r1=1.2.2.2&r2=1.2.2.3)
        pgstattuple.c (r1.25 -> r1.25.2.1)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/contrib/pgstattuple/pgstattuple.c?r1=1.25&r2=1.25.2.1)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Reduce the permissions check needed to use pgrowlocks() to having
Следующее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Add a debug logging message when a resource manager rejects an