Who altered the database? - Mailing list pgsql-general

From Durumdara
Subject Who altered the database?
Date
Msg-id CAEcMXhk1QXPej=Yn8BCi0Sz+Jh5=v9=RcgMinkhTGwq5xNP+0A@mail.gmail.com
Whole thread Raw
Responses Re: Who altered the database?  (Ron <ronljohnsonjr@gmail.com>)
Re: Who altered the database?  (Ganesh Korde <ganeshakorde@gmail.com>)
Re: Who altered the database?  (Vincent Veyron <vv.lists@wanadoo.fr>)
List pgsql-general
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?

Thank you for the answer!

Best regards

dd












pgsql-general by date:

Previous
From: hubert depesz lubaczewski
Date:
Subject: Re: where clauses including timstamptz and intervals
Next
From: Glen Huang
Date:
Subject: Re: Is replacing transactions with CTE a good idea?