Re: Last insert/update/delete time for a table

Поиск
Список
Период
Сортировка
От Fujii Masao
Тема Re: Last insert/update/delete time for a table
Дата
Msg-id 3f0b79eb0804250725w3349903iedbe11f0e2cd3fe5@mail.gmail.com
обсуждение исходный текст
Ответ на Last insert/update/delete time for a table  (Aleksander Kmetec - INTERA <aleksander.kmetec@intera.si>)
Список pgsql-general
2008/4/25 Aleksander Kmetec - INTERA <aleksander.kmetec@intera.si>:
>  Is there a way to get the time of the last insert, update or delete
> statement for a specific table?

You can check the time stamp of the file corresponding the table
after checkpoint. The relationship between the table name and
the file name is in pg_class.

   SELECT relfilenode FROM pg_class WHERE relname = 'tablename';

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

Предыдущее
От: Richard Huxton
Дата:
Сообщение: Re: Last insert/update/delete time for a table
Следующее
От: Ben Chobot
Дата:
Сообщение: Re: How to modify ENUM datatypes?