X-Original-To: pgsql-admin@postgresql.org Received: from localhost (developer.postgresql.org [64.117.224.193]) by developer.postgresql.org (Postfix) with ESMTP id BFB179251CC for ; Mon, 26 May 2003 13:20:50 -0400 (EDT) Received: from developer.postgresql.org ([64.117.224.193]) by localhost (developer.postgresql.org [64.117.224.193:10024]) (amavisd-new) with ESMTP id 42081-02 for ; Mon, 26 May 2003 13:20:49 -0400 (EDT) Received: from mail.ursa-minor.com (ns1.ursa-minor.com [66.152.196.34]) by developer.postgresql.org (Postfix) with ESMTP id DB2909251A6 for ; Mon, 26 May 2003 13:20:48 -0400 (EDT) Received: from [66.152.196.38] (unknown [66.152.196.38]) by mail.ursa-minor.com (Postfix) with ESMTP id 9228767032 for ; Mon, 26 May 2003 12:20:42 -0500 (EST) Mime-Version: 1.0 X-Sender: mpm@66.152.196.34 Message-Id: Date: Mon, 26 May 2003 13:20:16 -0400 To: pgsql-admin@postgresql.org From: Michelle Murrain Subject: Date formats Content-Type: text/plain; charset="us-ascii" ; format="flowed" X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/362 X-Sequence-Number: 8924 In doing an upgrade (I'm using Debian testing, and a recent dist-upgrade included an upgrade to 7.3.2), I must have messed up the date/time format - because one table did not automatically restore, and in trying to restore that table from my own backup, it is giving me the error "Bad Timestamp external representation" I thought I was being careful to pick the right formats during the upgrade, but obviously I screwed up. How can I fix this (besides writing a script to just insert the records sans timestamp or converting the timestamp)? 1) the old timestamp format is MM/DD/YYYY hh:mm:ss How can I find out what the new format is? Can I convert it to the old (by doing an new initdb?) Thanks for any tips! -- .Michelle -------------------------- Michelle Murrain, Technology Consulting tech at murrain dot net http://www.murrain.net 413-253-2874 ph 413-222-6350 cell 413-825-0288 fax AIM:pearlbear0 Y!:pearlbear9 ICQ:129250575 SMS: 4132226350 at messaging dot sprintpcs dot com "I am determined to cultivate only thoughts that increase trust and love, to use my hands to perform only deeds that build community, to speak only words of harmony and aid." - Thich Nhat Hanh