Re: Corrupt view in PostgreSQL 9.0.9

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Corrupt view in PostgreSQL 9.0.9
Дата
Msg-id 22618.1348842939@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Corrupt view in PostgreSQL 9.0.9  (Mikael Kjellström <mikael.kjellstrom@mksoft.nu>)
Ответы Re: Corrupt view in PostgreSQL 9.0.9  (Mikael Kjellström <mikael.kjellstrom@mksoft.nu>)
Список pgsql-bugs
Mikael Kjellström <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 atselect * 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



В списке pgsql-bugs по дате отправления:

Предыдущее
От: Mikael Kjellström
Дата:
Сообщение: Corrupt view in PostgreSQL 9.0.9
Следующее
От: urvancevav@gmail.com
Дата:
Сообщение: BUG #7574: CASE in WHERE condition change result set