Re: keeping track of when a row was last modified

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Sally Sally <dedeb17(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: keeping track of when a row was last modified
Date: 2005-03-10 21:37:23
Message-ID: 20050310213723.GA7015@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Mar 10, 2005 at 09:15:28PM +0000, Sally Sally wrote:

> Does postgres automatically keep track of when a row was last modified?

No, but you can set up a trigger to do it. The "Trigger Procedures"
section of the PL/pgSQL chapter in the documentation has an example:

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

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

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2005-03-10 21:39:08 Re: PostgreSQL still for Linux only?
Previous Message Thomas F.O'Connell 2005-03-10 21:33:31 Re: keeping track of when a row was last modified