Re: Rebuild pg_toast from scratch?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Rebuild pg_toast from scratch?
Дата
Msg-id 5458.1567691631@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Rebuild pg_toast from scratch?  (Moreno Andreo <moreno.andreo@evolu-s.it>)
Ответы Re: Rebuild pg_toast from scratch?
Список pgsql-general
Moreno Andreo <moreno.andreo@evolu-s.it> writes:
>      I have an issue with a Windows 10 PC with Postgres 9.1 x86.

You realize 9.1 is long out of support ...

> Running some SELECTs we got "ERROR: could not open file 
> "base/48121/784576": No such file or directory"

Ugh :-(

> Now I need to recreate an empty copy of this table (data can be 
> recovered later), how can I achieve this?

TRUNCATE ought to be enough.

            regards, tom lane



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

Предыдущее
От: Rob Sargent
Дата:
Сообщение: Re: floating point output
Следующее
От: Lele Gaifax
Дата:
Сообщение: Cannot restore dump when using IS DISTINCT FROM on a HSTORE column