X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 0294FD1B501 for ; Fri, 12 Sep 2003 18:46:46 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 29913-05 for ; Fri, 12 Sep 2003 15:46:16 -0300 (ADT) Received: from localhost (limacorp.com [66.216.127.144]) by svr1.postgresql.org (Postfix) with SMTP id 9E388D1B4E5 for ; Fri, 12 Sep 2003 15:46:14 -0300 (ADT) Received: (qmail 22739 invoked by uid 506); 12 Sep 2003 18:46:15 -0000 Received: from unknown (HELO limacorp.com) (66.161.164.36) by garbanzo.limacorp.com with SMTP; 12 Sep 2003 18:46:15 -0000 Message-ID: <3F621463.7040700@limacorp.com> Date: Fri, 12 Sep 2003 14:45:55 -0400 From: Terry Hampton User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 X-Accept-Language: en-us, en MIME-Version: 1.0 To: marie.tuite@edisonaffiliates.com Cc: pgsql-admin@postgresql.org Subject: Re: object creation date References: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/220 X-Sequence-Number: 10308 Hello Marie, In most of my tables, I have the same two columns: lastupdate TIMESTAMP not null default ('now'::text)::timestamp(8), createdate TIMESTAMP not null default ('now'::text)::timestamp(8) "createdate" is only written once, of course. and populates automatically. I have created a trigger to automaticaly change "lastupdate" every time the record is updated. I re-read your question however - and you mention *table* creation date. Do you have tables that are created dynamically ? Could you provide a bit more detail ? How is table creation date useful for you ? Terry Marie G. Tuite wrote: > How can I identify table creation date as opposed to last modified? > > Thanks. > > -Marie >