X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.193]) by svr1.postgresql.org (Postfix) with ESMTP id 79E3830DEA6 for ; Wed, 11 Jun 2003 09:58:43 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (svr1.postgresql.org [64.117.224.193]) (amavisd-new, port 10024) with ESMTP id 72654-08 for ; Wed, 11 Jun 2003 06:58:33 -0300 (ADT) Received: from pns.mm.eutelsat.org (pns.mm.eutelsat.org [194.214.173.227]) by svr1.postgresql.org (Postfix) with ESMTP id 4022730DD2D for ; Wed, 11 Jun 2003 06:58:32 -0300 (ADT) Received: from nts-03.mm.eutelsat.org (localhost [127.0.0.1]) by pns.mm.eutelsat.org (8.11.6/linuxconf) with ESMTP id h5B8xK002272; Wed, 11 Jun 2003 10:59:21 +0200 Received: from GMENDOLA2 (gmendola2.mm.eutelsat.org [194.214.173.26]) by nts-03.mm.eutelsat.org (8.11.6/linuxconf) with SMTP id h5B9wER03005; Wed, 11 Jun 2003 11:58:14 +0200 Message-ID: <004801c33000$0606d470$152aa8c0@GMENDOLA2> From: "Mendola Gaetano" To: "Anagha Joshi" , References: Subject: Re: Timestamp of insertion of the row. Date: Wed, 11 Jun 2003 11:58:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Archive-Number: 200306/98 X-Sequence-Number: 9089 "Anagha Joshi" wrote: > Hi, > Is there any way to know data & time when the row is inserted into a > table? You should define a supplementary field with default value "now()" this field will contain the transaction start time, if you want have the real time (if you insert a milion of row inside the same transaction using now() you'll have the same timestamp ) you should use instead: "timeofday()". Regards Gaetano Mendola