Re: Determining when a row was inserted - Mailing list pgsql-general

From ptjm@interlog.com (Patrick TJ McPhee)
Subject Re: Determining when a row was inserted
Date
Msg-id 3gf2bcF6jlj0U1@uni-berlin.de
Whole thread Raw
In response to Re: Determining when a row was inserted  (Terry Lee Tucker <terry@esc1.com>)
List pgsql-general
In article <33c6269f05060312363ff334df@mail.gmail.com>,
Alex Turner <armtuk@gmail.com> wrote:

% I really wasn't suggesting it be put in the table structure at the DB level,
% more a sidebar suggestion for people building schemas for companies. I can't
% count the number of times I've been asked when something was inserted and we
% didn't have an answer for the question. Wouldn't it be nice for a change to
% be _ahead_ of the game?

Just sticking a time stamp on the row doesn't solve this problem, though,
unless you preclude the possibility of the row being updated. Typically,
someone wants to know when a particular field held a particular value,
and you need an audit table for that.

--

Patrick TJ McPhee
North York  Canada
ptjm@interlog.com

pgsql-general by date:

Previous
From: sql@zeouane.org
Date:
Subject: Re: postgresql books
Next
From: sql@zeouane.org
Date:
Subject: Re: postgresql books