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: 08 Nov 2003 15:43:38 -0500
Message-ID: <1068324218.1491.3.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>
Thats the thing, I have no idea how I got into this. I was cutting and
pasting the view from one database to another. Did a refresh, it didn't
show, I pasted again, it allowed it and then all hell broke lose. :-)
This was in pg_admin III.
Thanks for the fix, I will try, I can afford to lose it on all databases
in the system, I have copies on 3 different systems. The issue is this
one database that it happened on happens to be the one in production.
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
Attachments:smiley-3.png (image/png, 819B) downloadview image
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: <1068324218.1491.3.camel@localhost.localdomain>
References: <1068302994.13970.20.camel@localhost.localdomain> <7115.1068307532@sss.pgh.pa.us> <1068324218.1491.3.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