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

I just want to let you know your sugestion worked and allowed me to dump
and restore the current database.

Thanks much,

Steven


On Sat, 2003-11-08 at 11:05, Tom Lane wrote:

> 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
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

view thread (4+ messages)

Message-ID: <1068414803.1491.19.camel@localhost.localdomain>
Permalink:  ../1068414803.1491.19.camel@localhost.localdomain/
Also on:    postgresql.org/message-id/1068414803.1491.19.camel@localhost.localdomain

 · 

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: tower@towerhome.cx, tgl@sss.pgh.pa.us
  Subject: Re: Database Error (Bogus atrribute number 24....)
  In-Reply-To: <1068414803.1491.19.camel@localhost.localdomain>
  References: <1068302994.13970.20.camel@localhost.localdomain> <7115.1068307532@sss.pgh.pa.us> <1068414803.1491.19.camel@localhost.localdomain>

* 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