Re: pgaudit and create postgis extension logs a lot inserts

Поиск
Список
Период
Сортировка
От David Steele
Тема Re: pgaudit and create postgis extension logs a lot inserts
Дата
Msg-id 551c26e7-c683-68b3-bd66-6285e859b7ae@pgmasters.net
обсуждение исходный текст
Ответ на pgaudit and create postgis extension logs a lot inserts  (Svensson Peter <peter.svensson@smhi.se>)
Список pgsql-performance
Hi Peter,

On 1/18/18 7:12 AM, Svensson Peter wrote:
> 
> Also noticed that setting a session log to none (set
> pgaudit.log='none';)  overrides parameter from postgresql.conf,  but
> does not get logged, and then you can do whatever you want without any
> audit.
> I supposed this changing of  audit session log parameter should be
> logged to file?

pgaudit is not intended to audit the superuser and only a superuser can
set pgaudit.log.

However, you can limit superuser access with the setuser extension:
https://github.com/pgaudit/set_user

Regards,
-- 
-David
david@pgmasters.net


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

Предыдущее
От: David Steele
Дата:
Сообщение: Re: pgaudit and create postgis extension logs a lot inserts
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Performance impact of lowering max_files_per_process