Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id A2D92476575 for ; Tue, 21 May 2002 11:05:07 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id EA19347619C for ; Tue, 21 May 2002 10:56:32 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id JAA28794; Tue, 21 May 2002 09:56:37 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "pgsql-admin" Cc: "Ray Ontko" Subject: cannot find attribute 1 of relation (second occurrence.) Date: Tue, 21 May 2002 09:55:04 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200205/168 X-Sequence-Number: 4343 Hi- We've just seen the following error for a second time since upgrading to 7.2.1-2: cannot find attribute 1 of relation The first time, Tom Lane helped us by suggesting a reindex of pg_attribute. I tried this on the second case as well, and it solved the problem. At this point, I'm concerned because I've never encountered this error before in about 2 years of postgres use, but now I've seen it twice in the last two weeks, so I need to figure out why it happened. Some questions & conjecture: Has anyone else encountered this problem on 7.2.1-2? The two major recent changes that I can think of are our upgrade to 7.2 & new hardware. Hardware seems the likely culprit, but if others have experience similar errors on 7.2, I'd squint more closely at the software. The first time I encountered this error was on a massive dump file reload. The second time, the only coincidence I can think of was updating pg_attribute.atttypmod for several records last night. Could this have caused my problem? Any other ideas? Thanks everyone! -Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/