Re: control max length of parameter values logged

Поиск
Список
Период
Сортировка
От Alexey Bashtanov
Тема Re: control max length of parameter values logged
Дата
Msg-id f63e1977-5773-3d71-3439-3b65d12cdb8e@imap.cc
обсуждение исходный текст
Ответ на Re: control max length of parameter values logged  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: control max length of parameter values logged
Список pgsql-hackers
Hi,
> The privilege argument seems irrelevant to me.  We already decided
> that the plan is (a) SUSET for non-error statement logging purposes and
> (b) USERSET for logging caused by errors, and that would have to apply
> to length limits as well as enable/disable ability.  Otherwise a user
> could pretty effectively disable logging by setting the length to 1.
The only privilege that user can gain if we drop the boolean is to 
*enable* logging parameters on error.
That gives user a little bit easier way to fill up the disk with logs, 
but they anyway can do that if they want to.
If that's okay with everyone, please see the new version attached.

Best, Alex

Вложения

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

Предыдущее
От: Peter Geoghegan
Дата:
Сообщение: Re: snapshot too old issues, first around wraparound and then more.
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: proposal \gcsv