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 439DB30E8CF for ; Thu, 12 Jun 2003 22:17:55 +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 87453-09 for ; Thu, 12 Jun 2003 19:17:44 -0300 (ADT) Received: from smtp.noos.fr (nan-smtp-11.noos.net [212.198.2.82]) by svr1.postgresql.org (Postfix) with ESMTP id 35D4430E865 for ; Thu, 12 Jun 2003 19:17:44 -0300 (ADT) Received: (qmail 87234576 invoked by uid 0); 12 Jun 2003 22:17:42 -0000 Received: from unknown (HELO gmendola) ([212.198.40.246]) (envelope-sender ) by 212.198.2.82 (qmail-ldap-1.03) with SMTP for ; 12 Jun 2003 22:17:42 -0000 Message-ID: <002601c33130$6febee30$10d4a8c0@mm.eutelsat.org> From: "Mendola Gaetano" To: "Henry House" , "Anagha Joshi" Cc: References: <20030612120056.GA11922@houseag.com> Subject: Re: Timestamp of insertion of the row. Date: Fri, 13 Jun 2003 00:17:38 +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/137 X-Sequence-Number: 9128 "Henry House" wrote: > Yes. Easy answer: use a column of type 'timestamp default now()'. With that default value you store the time stamp of transaction where the row was inserted. Immagine to insert inside the same transaction a lot of rows and this operation will take long 1 minute, you'll have all rows with the same time stamp instead of time stamp spreaded inside that minute, use timeofday instead. Regards Gaetano Mendola