Re: table change - Mailing list pgsql-general

From Jeff Davis
Subject Re: table change
Date
Msg-id 1178909801.24902.84.camel@dogma.v10.wvs
Whole thread Raw
In response to table change  ("Darren Bird" <darrenlbird@gmail.com>)
List pgsql-general
On Wed, 2007-05-09 at 14:20 +0100, Darren Bird wrote:
> Is there a way of asking Postgresql if a particular table was changed
> without going back through the logs - like a last modified flag or
> even just a changed flag?

If the table change caused a rewrite of the table it will have a new
relfilenode (and a new file in the data directory).

You might look at that file's creation time. This will not catch all
modifications to the table.

Hope that helps,
    Jeff Davis


pgsql-general by date:

Previous
From: Geoffrey
Date:
Subject: Re: Fault Tolerant Postgresql (two machines, two postmasters, one disk array)
Next
From: Alvaro Herrera
Date:
Subject: Re: UTF-8 to ASCII