Re: Last insert/update/delete time for a table - Mailing list pgsql-general

From Fujii Masao
Subject Re: Last insert/update/delete time for a table
Date
Msg-id 3f0b79eb0804250725w3349903iedbe11f0e2cd3fe5@mail.gmail.com
Whole thread Raw
In response to Last insert/update/delete time for a table  (Aleksander Kmetec - INTERA <aleksander.kmetec@intera.si>)
List 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 by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Last insert/update/delete time for a table
Next
From: Ben Chobot
Date:
Subject: Re: How to modify ENUM datatypes?