Re: Problems with PGOPTIONS

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Problems with PGOPTIONS
Дата
Msg-id 5306.1042647569@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Problems with PGOPTIONS  (Andre Schubert <andre@km3.de>)
Ответы Re: Problems with PGOPTIONS  (Andre Schubert <andre@km3.de>)
Список pgsql-admin
Andre Schubert <andre@km3.de> writes:
> Ok, but is there another way to enable STATS_ROW_LEVEL for a special
> backend not connecting as superuser ?

No: the code is deliberately designed to prevent that, on the grounds
that it'd be a security flaw (non-superusers should not be allowed to
hide their activities from the DBA).

There's nothing to stop you from making a private version with
stats_row_level downgraded to an ordinary unprotected SET variable,
though, if that seems more appropriate to your needs.  See its entry in
src/backend/utils/misc/guc.c and change it from SUSET to USERSET
category (from memory; check spelling in src/include/utils/guc.h).

            regards, tom lane

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

Предыдущее
От: "Gareth Kirwan"
Дата:
Сообщение: pg_dumpall and large flat file
Следующее
От: "Rajesh Kumar Mallah."
Дата:
Сообщение: Re: How Copy 7.3 Schemas?