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 B845BD1B4E2 for ; Fri, 12 Sep 2003 17:41:38 +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 16949-10 for ; Fri, 12 Sep 2003 14:41:07 -0300 (ADT) Received: from web21101.mail.yahoo.com (web21101.mail.yahoo.com [216.136.227.103]) by svr1.postgresql.org (Postfix) with SMTP id 8DD59D1B4F9 for ; Fri, 12 Sep 2003 14:41:06 -0300 (ADT) Message-ID: <20030912174106.87224.qmail@web21101.mail.yahoo.com> Received: from [65.206.239.222] by web21101.mail.yahoo.com via HTTP; Fri, 12 Sep 2003 10:41:06 PDT Date: Fri, 12 Sep 2003 10:41:06 -0700 (PDT) From: Shankar K Subject: timestamp with timezone To: pgsql-admin@postgresql.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/216 X-Sequence-Number: 10304 Folks, Our databases stores most of the dates as timestamp with timezone format, so the data looks like this... 09/12/2003 12:51:31.268 PDT 09/12/2003 12:50:20 PDT some has centiseconds in them along with TZ. Now i'm wondering is there a way to just extract date and timestamp alone leaving the centisecods as well the TZ part. does pg_dump utility has any options to trunc this while it exports data ? cheers, shankar __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com