Thread: i want to find

i want to find

From
chamil wijenayake
Date:
hi
 
i want to find the last update time of a tuple(row) in the postgresql data base
 
please be knid enough to reply me a solution if u know
 
thanking you in advance
 
chamil


Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.

Re: i want to find

From
Michael Fuhr
Date:
[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/