Received: from lists.unixathome.org (lists.unixathome.org [210.48.103.158]) by postgresql.org (Postfix) with ESMTP id 92CB747586D for ; Sat, 23 Feb 2002 14:44:19 -0500 (EST) Received: from wocker (lists.unixathome.org [210.48.103.158]) by lists.unixathome.org (8.11.6/8.11.6) with ESMTP id g1NJiEk43626; Sun, 24 Feb 2002 08:44:14 +1300 (NZDT) (envelope-from dan@lists.unixathome.org) Message-Id: <200202231944.g1NJiEk43626@lists.unixathome.org> From: "Dan Langille" Organization: DVL Software Limited To: Sean Chittenden Date: Sat, 23 Feb 2002 14:44:04 -0500 MIME-Version: 1.0 Subject: Re: 7.1->7.2 data import timestamp problems Reply-To: dan@langille.org Cc: pgsql-admin@postgresql.org In-reply-to: <200202231928.g1NJSuk43520@lists.unixathome.org> References: <20020223112230.H62359@ninja1.internal> X-mailer: Pegasus Mail for Windows (v4.01) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Content-description: Mail message body X-Archive-Number: 200202/325 X-Sequence-Number: 3478 On 23 Feb 2002 at 14:28, Dan Langille wrote: > On 23 Feb 2002 at 11:22, Sean Chittenden wrote: > > > > I've just been able to confirm that 7.1.2 can import the above data. My > > > plans for 7.2 are now on hold while I try to find a way to get 7.2 to > > > accept the data that has been exported from 7.1. > > > > perl -p -i -e 's#current#now#igo' pgsql_dump.sql > > > > Double check that you don't have the word 'current' in your dump other than > > timestamps. > > > > grep -i current pgsql_dump.sql > > > > HTH -sc > > Sean: you are on the same track I am. Yes, I found 9 such values in a > timestamp field. I corrected the data, exported, and imported into 7.2. > All went well I spoke too soon: now I'm getting: ERROR: SearchSysCache: Bad cache id 27 But I'll try to track down more and see. Just a heads up in case this raises any concerns with anyone. -- Dan Langille The FreeBSD Diary - http://freebsddiary.org/ - practical examples