| From: | chamil wijenayake <chamil82(at)yahoo(dot)com> |
|---|---|
| To: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: [HACKERS] i want to find |
| Date: | 2005-04-03 10:14:19 |
| Message-ID: | 20050403101419.50302.qmail@web60305.mail.yahoo.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
MICHAEL;
thanks alot for your help......
i used a trigger to get the job done......thanks again for helping me..
regards
chamil
university of colombo
Sri Lanka
Michael Fuhr <mike(at)fuhr(dot)org> wrote:
[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/
---------------------------------
Do you Yahoo!?
Yahoo! Mail - Helps protect you from nasty viruses.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Thomas Hallgren | 2005-04-03 11:02:48 | Re: PostgreSQL and .NET |
| Previous Message | Poul Møller Hansen | 2005-04-03 09:55:55 | How many clients can one database server handle |