Re: unable to dump database, toast errors

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: unable to dump database, toast errors
Дата
Msg-id 13725.1049405573@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: unable to dump database, toast errors  (Lonni J Friedman <lfriedman@vasoftware.com>)
Ответы Re: unable to dump database, toast errors  (Lonni J Friedman <lfriedman@vasoftware.com>)
Список pgsql-general
Lonni J Friedman <lfriedman@vasoftware.com> writes:
> ok, i've got 786 rows to play with, joy.  once i find a broken row/field,
> how do I map that back to pg_toast_302323?

Well, it'll tell you which chunk_id it's having a problem with; you
could then look into the toast table to see what the available data is.
(Although the odds are good that the data will have been compressed, so
you won't be able to tell much :-()

As far as recovering, just set the broken field to a new value.
Fortunately the old-value-deletion code is not picky about whether it
finds all the chunks that should be there.

            regards, tom lane


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

Предыдущее
От: Jason Hihn
Дата:
Сообщение: Re: Single Byte values
Следующее
От: Lonni J Friedman
Дата:
Сообщение: Re: unable to dump database, toast errors