Re: Timestamp of insertion of the row. - Mailing list pgsql-admin

From Bruno Wolff III
Subject Re: Timestamp of insertion of the row.
Date
Msg-id 20030616114642.GA27634@wolff.to
Whole thread Raw
In response to Re: Timestamp of insertion of the row.  ("Anagha Joshi" <ajoshi@nulinkinc.com>)
List pgsql-admin
On Mon, Jun 16, 2003 at 15:45:28 +0530,
  Anagha Joshi <ajoshi@nulinkinc.com> wrote:
> Hi All,
> I mean to say ....
> Can I know the time when particular row is inserted into the table? i.e.
> timestamp of insertion of row into the table.

That isn't precise. What do you mean when you say it is inserted into the
table. Do you mean when the transaction is committed or started, or perhaps
the time the command to insert the row is run or perhaps the time of the
external event that prompted the the insert? Sometimes these times can
be quite different, especially if you are using persistant connections
with software that issues 'begin's for you.

If the time doesn't need to be synchronized with any other times in the
same transaction, then timeofday is probably your best bet.

pgsql-admin by date:

Previous
From: "Mendola Gaetano"
Date:
Subject: Re: Timestamp of insertion of the row.
Next
From: Raj Mathur
Date:
Subject: Move passwords between databases