From: | David Goodenough <david(dot)goodenough(at)btconnect(dot)com> |
---|---|
To: | Oliver Elphick <olly(at)lfix(dot)co(dot)uk>, Andy Kriger <akriger(at)greaterthanone(dot)com> |
Cc: | Pgsql-General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: how do i find out when a record was created/modified? |
Date: | 2002-11-22 11:27:05 |
Message-ID: | 20021122112709.7E3B6475AE6@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Friday 22 November 2002 10:12, Oliver Elphick wrote:
> On Thu, 2002-11-21 at 23:07, Andy Kriger wrote:
> > if i have a table full of data, is there metadata stored somewhere by
> > psql that can tell me when each record was created/modified? or do i have
> > to track this manually with datetime columns that default to now()?
>
> Defaulting to now() will only track inserts, not updates.
>
> There is a contrib module, spi/moddatetime, that will do both.
I just went to the web site, and from there to the FTP master and looked
in the contrib directory, and its empty. Presuming I looked in the wrong
place could you give us a URL please?
David
From | Date | Subject | |
---|---|---|---|
Next Message | Nigel J. Andrews | 2002-11-22 11:55:07 | Re: how do i find out when a record was created/modified? |
Previous Message | Oliver Elphick | 2002-11-22 10:28:28 | Re: How to know and change the owner of a table in psql ? |