From: Mikael Kjellström <mikael.kjellstrom@mksoft.nu>
To: pgsql-bugs@postgresql.org
Subject: Corrupt view in PostgreSQL 9.0.9
Date: Fri, 28 Sep 2012 16:09:47 +0200
Message-ID: <5065AFAB.1030305@mksoft.nu> (raw)
Hi,
First some info about the machine and the postgres version:
os: Debian 6.0.5 (64-bit)
postgres version: PostgreSQL 9.0.9 on x86_64-unknown-linux-gnu, compiled
by GCC gcc (Debian 4.4.5-8) 4.4.5, 64-bit
The problem:
I first noticed pg_dump giving the following error message when trying
to dump the database:
pg_dump: invalid column numbering in table "communitytaxiexceptions"
then when I connect to the database with psql and try to drop the view I
get the following error:
# drop view communitytaxiexceptions ;
ERROR: invalid attribute number 0 for communitytaxiexceptions
and a select gives the same error message:
# select * from communitytaxiexceptions ;
ERROR: invalid attribute number 0 for communitytaxiexceptions
LINE 1: select * from communitytaxiexceptions ;
^
Is there anything thing I could do to manually remove the view or fix
the problem?
Thanks in advance,
Mikael
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: mikael.kjellstrom@mksoft.nu
Subject: Re: Corrupt view in PostgreSQL 9.0.9
In-Reply-To: <5065AFAB.1030305@mksoft.nu>
References: <5065AFAB.1030305@mksoft.nu>
* 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