Re: Accidentally truncated pg_type

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: Accidentally truncated pg_type
Дата
Msg-id 4E1BA2A0.9040609@postnewspapers.com.au
обсуждение исходный текст
Ответ на Accidentally truncated pg_type  ("Matthew Byrne" <matt@byrney.com>)
Ответы Re: Accidentally truncated pg_type  (Chris Travers <chris.travers@gmail.com>)
Список pgsql-general
On 12/07/11 08:12, Matthew Byrne wrote:
> I have a large database full of irreplaceable data, and due to a
> ridiculous happenstance I accidentally executed this code (as a superuser,
> of course):
>
> DELETE FROM pg_catalog.pg_type;
>
> Now the database is *seriously* unhappy - every SQL command returns an
> error message.  How do I get at my data?

Oh, once you've copied your database you should stop the postmaster and
not start it again without further advice/instructions. The data in
pg_type may not have been vacuumed or overwritten yet if you haven't
been messing about trying to fix it before asking for help.

--
Craig Ringer

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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Accidentally truncated pg_type
Следующее
От: Chris Travers
Дата:
Сообщение: Re: [HACKERS] Creating temp tables inside read only transactions