From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | TERENYI Balazs <terenyi(at)freemail(dot)hu> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: PG_XLOG |
Date: | 2002-03-13 18:23:27 |
Message-ID: | 200203131823.g2DINRl22242@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-03-13 18:28:15 | Re: Query planner problem |
Previous Message | Jeffrey W. Baker | 2002-03-13 18:15:38 | Re: more about pg_toast growth |