Re: Re: Vaccuuming every db in cluster fails to eliminate "execute a full-database VACUUM in..."

Поиск
Список
Период
Сортировка
От Robert Burgholzer
Тема Re: Re: Vaccuuming every db in cluster fails to eliminate "execute a full-database VACUUM in..."
Дата
Msg-id AANLkTi=SN7+mhWjVDNam=YC-r7ayY=uFNMecjXRPMS3N@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Re: Vaccuuming every db in cluster fails to eliminate "execute a full-database VACUUM in..."  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-admin
Tom,
Thanks for getting in touch.  Unfortunately, I thought to myself "why
not drop the db in single mode under database postgres", which I did,
and which worked, and thus, I can no longer produce the error, nor can
I query the "phantom" table as you suggested.  I can say that when I
tried to vacuum the table, it told me:

backend> vacuum annual_data_gwreplace
ERROR:  relation "annual_data_gwreplace" does not exist
STATEMENT:  vacuum annual_data_gwreplace

I restored, and now, I *think* things are going OK.

Thanks again,
r.b.

>If there is a row in pg_class that for some reason didn't get deleted
>when the table was dropped, you could just manually remove that row
>(ie, DELETE FROM pg_class WHERE ... as superuser).  You'd still need
>another VACUUM to get the database's datfrozenxid updated, but
>after that things should be OK.
--
--
Robert W. Burgholzer
http://www.findingfreestyle.com/

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: Vaccuuming every db in cluster fails to eliminate "execute a full-database VACUUM in..."
Следующее
От: Lou Picciano
Дата:
Сообщение: Re: build from Source: 9.0.1 / 9.1-alpha1 cannot build modules