Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 8A9F7476606 for ; Fri, 10 May 2002 12:40:14 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id 672DF475F24 for ; Fri, 10 May 2002 12:35:39 -0400 (EDT) Received: (from rayo@localhost) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) id LAA10840; Fri, 10 May 2002 11:35:42 -0500 From: Ray Ontko Message-Id: <200205101635.LAA10840@shire.ontko.com> Subject: Re: A couple of errors encountered in 7.1.3=>7.2.1-2 data migration In-Reply-To: <28669.1021045490@sss.pgh.pa.us> from Tom Lane at "May 10, 2002 11:44:50 am" To: Tom Lane Date: Fri, 10 May 2002 11:35:42 -0500 (EST) Cc: nickf@ontko.com, pgsql-admin , Ray Ontko X-Mailer: ELM [version 2.4ME+ PL66 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archive-Number: 200205/107 X-Sequence-Number: 4282 Tom, et al, > > ERROR: cannot find attribute 1 of relation schedule_notification_log > > This is more disturbing. Can you provide the sequence of commands that > led up to it? Here are a few related datapoints. 1) We think that schedule_notification_log is the only table that we loaded from the dump that had _no_ rows in it. 2) We encountered the same "cannot find attribute" error when doing something like this: develop=# create table temp_event as select * from event ; ... develop=# \d temp_event Table "temp_event" Attribute | Type | Modifier -----------+------+---------- develop=# select count(*) from temp_event ; ERROR: cannot find attribute 1 of relation temp_event develop=# drop table temp_event ; ERROR: cannot find attribute 1 of relation temp_event Note that "event" has plenty of rows. It may be our only table that includes the INTERVAL datatype. BTW, How do I get rid of temp_event? So: Is there something about a table that might cause it to NOT load correctly? Is there something about a table that might cause it to not copy correctly (using create as select * from )? Ray ---------------------------------------------------------------------- Ray Ontko rayo@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/