pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Steven Tower <tower@towerhome.cx>
Cc: pgsql-admin@postgresql.org
Subject: Re: Database Error (Bogus atrribute number 24....)
Date: Sat, 08 Nov 2003 11:05:32 -0500
Message-ID: <7115.1068307532@sss.pgh.pa.us> (raw)
In-Reply-To: <1068302994.13970.20.camel@localhost.localdomain>
References: <1068302994.13970.20.camel@localhost.localdomain>

Steven Tower <tower@towerhome.cx> 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



view thread (4+ messages)  latest in thread

Message-ID: <7115.1068307532@sss.pgh.pa.us>
Permalink:  ../7115.1068307532@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7115.1068307532@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, tower@towerhome.cx
  Subject: Re: Database Error (Bogus atrribute number 24....)
  In-Reply-To: <7115.1068307532@sss.pgh.pa.us>
  References: <1068302994.13970.20.camel@localhost.localdomain> <7115.1068307532@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox