Re: Who altered the database?

Поиск
Список
Период
Сортировка
От Ron
Тема Re: Who altered the database?
Дата
Msg-id 3b0705db-1874-0ddf-ac20-3dcd7c494c4b@gmail.com
обсуждение исходный текст
Ответ на Who altered the database?  (Durumdara <durumdara@gmail.com>)
Список pgsql-general
On 4/9/21 6:14 AM, Durumdara wrote:
> Dear Members!
>
> We have a server.
> Because of high usage we can't log DDL-s. There are too many temporary 
> tables created by users, so it would slow down the server.
> A database owner changed.
>
> What can we do to get info about the change (who did it, from what IP, 
> when it happened) in the future?
>
> As I see we can't define precisely what we want to log... All or nothing.
>
> Do you know any tricks to do it?
>
> For example: DB level trigger, or other thing?

pg_audit?

-- 
Angular momentum makes the world go 'round.



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

Предыдущее
От: Ron
Дата:
Сообщение: Re: where clauses including timstamptz and intervals
Следующее
От: Tom Lane
Дата:
Сообщение: Re: where clauses including timstamptz and intervals