Re: Need to trace the logs

Поиск
Список
Период
Сортировка
От hubert depesz lubaczewski
Тема Re: Need to trace the logs
Дата
Msg-id 20201015135133.GB32444@depesz.com
обсуждение исходный текст
Ответ на Need to trace the logs  (nandha kumar <bnandhakumardba@gmail.com>)
Ответы Re: Need to trace the logs  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-general
On Thu, Oct 15, 2020 at 05:25:11PM +0530, nandha kumar wrote:
> Hi Team,
>      We are using a postgresql database with 9.6.1 version, any way to
> trace the last modified object, procedure in PostgreSQL.

well, you can log all queries, and extract the info from logs.

If by "object" you mean table/row - you can do it with triggers.

Best regards,

depesz




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

Предыдущее
От: nandha kumar
Дата:
Сообщение: Need to trace the logs
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Need to trace the logs