how to force drop a table

Поиск
Список
Период
Сортировка
От terry@greatgulfhomes.com
Тема how to force drop a table
Дата
Msg-id 014f01c2802c$8047ca20$2766f30a@development.greatgulfhomes.com
обсуждение исходный текст
Список pgsql-general
I want to backup my database, which appears to be corrupt.  The projects
table is corrupt:
bash$ pg_dump devtest2
pg_dump: Attempt to lock table "projects" failed.  ERROR:  cannot find
attribute
 8 of relation projects

When I try to drop this corrupted table:
devtest2=# drop table projects;
ERROR:  cannot find attribute 8 of relation projects

How can I manually purge this table from the system tables so that I can run
a backup and then recreate the database?

Thanks

Terry Fielder
Network Engineer
Great Gulf Homes / Ashton Woods Homes
terry@greatgulfhomes.com



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

Предыдущее
От: Eckhardt Kiwitt
Дата:
Сообщение: Inquiry From Form [pgsql]
Следующее
От: st_mwilson@btconnect.com
Дата:
Сообщение: Oracle 8.1.x to Postgresql Conversion.