X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id EF13DD1B4F6 for ; Sat, 8 Nov 2003 16:06:05 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 82938-03 for ; Sat, 8 Nov 2003 12:05:34 -0400 (AST) Received: from sss.pgh.pa.us (unknown [192.204.191.242]) by svr1.postgresql.org (Postfix) with ESMTP id 701ADD1B507 for ; Sat, 8 Nov 2003 12:05:33 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.12.10/8.12.10) with ESMTP id hA8G5W19007116; Sat, 8 Nov 2003 11:05:32 -0500 (EST) To: Steven Tower Cc: pgsql-admin@postgresql.org Subject: Re: Database Error (Bogus atrribute number 24....) In-reply-to: <1068302994.13970.20.camel@localhost.localdomain> References: <1068302994.13970.20.camel@localhost.localdomain> Comments: In-reply-to Steven Tower message dated "08 Nov 2003 09:49:54 -0500" Date: Sat, 08 Nov 2003 11:05:32 -0500 Message-ID: <7115.1068307532@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/135 X-Sequence-Number: 11123 Steven Tower writes: > I am receiving the following error from Postgres 7.3.3 on Linux > Bogus attribute number 24 for vs_actfreighservices (a view). Hm, can you tell us how you got into this fix? That shouldn't happen AFAICS. As far as getting out of the problem is concerned, if you don't need the view you could just manually delete its pg_class row: as superuser do delete from pg_class where relname = 'vs_actfreighservices' (if you have multiple views named vs_actfreighservices in different schemas, more selectivity would be needed). That should leave you in a state where you can run pg_dump. regards, tom lane