Re: Corrupted Table

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Corrupted Table
Дата
Msg-id 19184.965083778@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Corrupted Table  ("Bryan White" <bryan@arcamax.com>)
Список pgsql-general
"Bryan White" <bryan@arcamax.com> writes:
>> Shut down the postmaster and then copy the entire db (including pg_log
>> file) and it should work.  The catch is to make sure pg_log is in sync
>> with your table files.

> I would rather not leave my database down long enough to copy the entire db
> (3.5GB).

Well, you don't really need the *whole* db, just pg_log (and the other
tables at the top level of the data directory), the system tables
(pg_foo in the database subdir), and the table of interest.

> If not, how about if I first
> vacuum the table?

Don't do that --- it might wipe out vital clues.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: postgres access via perl failing after upgrade
Следующее
От: Herbert Liechti
Дата:
Сообщение: Re: postgres perl DBI