Re: Determining when a row was inserted

From: Terry Lee Tucker <terry(at)esc1(dot)com>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Re: Determining when a row was inserted
Date: 2005-06-02 12:50:45
Message-ID: 200506020850.45323.terry@esc1.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I don't think there is a way to do that. You'll have to create an audit table
and a rule to update it or you'll have to add a column to the table and a
trigger to update it.

On Thursday 02 June 2005 01:22 am, Eisenhut, Glenn saith:
> Folks - hi
>
> Is it possible to determine when a row was inserted into a table using the
> system catalogs or such. I have the situation where I need to find out when
> a user was added to a user table - the table was not setup with a date to
> track this.
>
> Thanks
> Glenn

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2005-06-02 12:54:32 Re: Determining when a row was inserted
Previous Message Richard Huxton 2005-06-02 12:40:53 Re: [SQL] index row size 2728 exceeds btree maximum, 27