Re: Fixing up a corrupted toast table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fixing up a corrupted toast table
Дата
Msg-id 18863.1141859240@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fixing up a corrupted toast table  (Steve Atkins <steve@blighty.com>)
Ответы Re: Fixing up a corrupted toast table  (Steve Atkins <steve@blighty.com>)
Re: Fixing up a corrupted toast table  ("Marko Kreen" <markokr@gmail.com>)
Список pgsql-general
Steve Atkins <steve@blighty.com> writes:
>>> make it happy by inserting a dummy row into the toast table (chunk ID
>>> as specified in the error, chunk sequence 0, any old data value).

> Any attempt to touch the toast table gives me:
> ERROR:  cannot change TOAST relation "pg_toast_17410"

Ugh.  Maybe we should allow superusers to do that?  Or is it too much of
a foot-gun?

> If I set relkind to 'r' for the toast table, shove some fake data
> in there and set it back to 't' that should do it, shouldn't it?

Offhand I think this would work, but suggest trying it in a scratch
database first ...

            regards, tom lane

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

Предыдущее
От: Steve Atkins
Дата:
Сообщение: Re: Fixing up a corrupted toast table
Следующее
От: "Paul Newman"
Дата:
Сообщение: Re: Triggers and Multiple Schemas.