From: Tom Lane <tgl@sss.pgh.pa.us>
To: Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
Cc: pgsql-bugs@postgresql.org
Subject: Re: Corrupt view in PostgreSQL 9.0.9
Date: Fri, 28 Sep 2012 10:35:39 -0400
Message-ID: <22618.1348842939@sss.pgh.pa.us> (raw)
In-Reply-To: <5065AFAB.1030305@mksoft.nu>
References: <5065AFAB.1030305@mksoft.nu>
=?ISO-8859-1?Q?Mikael_Kjellstr=F6m?= <mikael.kjellstrom@mksoft.nu> writes:
> # drop view communitytaxiexceptions ;
> ERROR: invalid attribute number 0 for communitytaxiexceptions
That's pretty odd --- it implies something nasty has happened to the
contents of pg_attribute. It would be interesting to have a look at
select * from pg_attribute where attrelid = 'communitytaxiexceptions'::regclass;
> Is there anything thing I could do to manually remove the view or fix
> the problem?
Well, you could manually remove its pg_class and pg_type rows, and that
should be close enough to being "gone". But what I'm worried about is
what other damage there is.
regards, tom lane
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-bugs@postgresql.org
Cc: tgl@sss.pgh.pa.us, mikael.kjellstrom@mksoft.nu
Subject: Re: Corrupt view in PostgreSQL 9.0.9
In-Reply-To: <22618.1348842939@sss.pgh.pa.us>
References: <5065AFAB.1030305@mksoft.nu> <22618.1348842939@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