Re: PG_XLOG

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: PG_XLOG
Дата
Msg-id 200203131823.g2DINRl22242@candle.pha.pa.us
обсуждение исходный текст
Ответ на PG_XLOG  (TERENYI Balazs <terenyi@freemail.hu>)
Список pgsql-general
TERENYI Balazs wrote:
> Hi!
>
> How can I make pg_xlog files human readable? I have forgotten to switch on
> the debug_print_query option and somehow rows were deleted from a
> database. I don't know how.

You can't, really.  If you haven't vacuumed, you can modify tqual.c,
function HeapTupleSatisfiesSnapshot() to always return true, recompile
and install that binary, and a SELECT will then show all the rows.

Make a backup first, and be sure you use that modified binary only for
during recovery.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: tony
Дата:
Сообщение: Re: Installing 7.2 on RedHat 7.1
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: Nested Transactions