Re: Determining when a row was inserted

Поиск
Список
Период
Сортировка
От ptjm@interlog.com (Patrick TJ McPhee)
Тема Re: Determining when a row was inserted
Дата
Msg-id 3gf2bcF6jlj0U1@uni-berlin.de
обсуждение исходный текст
Ответ на Re: Determining when a row was inserted  (Terry Lee Tucker <terry@esc1.com>)
Список 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 по дате отправления:

Предыдущее
От: sql@zeouane.org
Дата:
Сообщение: Re: postgresql books
Следующее
От: sql@zeouane.org
Дата:
Сообщение: Re: postgresql books