pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Mendola Gaetano <mendola@bigfoot.com>
To: Anagha Joshi <ajoshi@nulinkinc.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: Timestamp of insertion of the row.
Date: Mon, 16 Jun 2003 12:56:23 +0200
Message-ID: <00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2> (raw)
References: <FF851C7EEB75954F9BCFB5CA117AB1EC61A41B@delta.nulinkinc.com>

"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.

Is not clear what you want:

# begin transaction;            // 10:00:00 AM
[ 3 minutes of delay ( computation, others rows inserted, ... ]
# insert row                       // 10:03:00 AM
# end transaction;

if you use default now() you will have on the time stamp:  10:00:00 AM
if you use default timeofday() you will have on the time stamp:   10:03:00
AM


regards
Gaetano Mendola







view thread (13+ messages)  latest in thread

Message-ID: <00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2>
Permalink:  ../00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2/
Also on:    postgresql.org/message-id/00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mendola@bigfoot.com, ajoshi@nulinkinc.com
  Subject: Re: Timestamp of insertion of the row.
  In-Reply-To: <00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2>
  References: <FF851C7EEB75954F9BCFB5CA117AB1EC61A41B@delta.nulinkinc.com> <00ca01c333f5$ed6ccb00$152aa8c0@GMENDOLA2>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox