Re: i want to find - Mailing list pgsql-hackers

From Michael Fuhr
Subject Re: i want to find
Date
Msg-id 20050327070958.GA46060@winnie.fuhr.org
Whole thread Raw
In response to i want to find  (chamil wijenayake <chamil82@yahoo.com>)
List pgsql-hackers
[Reply-To set to pgsql-general]

On Fri, Mar 25, 2005 at 11:11:19PM -0800, chamil wijenayake wrote:

> i want to find the last update time of a tuple(row) in the postgresql data base

You can set up a trigger to maintain a timestamp for the row.  See
the example in the "Trigger Procedures" section of the PL/pgSQL
documentation.

http://www.postgresql.org/docs/8.0/interactive/plpgsql-trigger.html

-- 
Michael Fuhr
http://www.fuhr.org/~mfuhr/


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: problem with rules - column values lost
Next
From: Karel Zak
Date:
Subject: Re: Bug 1500