| From: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
|---|---|
| To: | calvin247(at)aol(dot)com |
| Cc: | pgsql-hackers(at)postgresql(dot)org |
| Subject: | Re: recovery from idiot delete error |
| Date: | 2005-04-12 20:08:54 |
| Message-ID: | 20050412200854.GF25114@dcc.uchile.cl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On Tue, Apr 12, 2005 at 11:58:43AM -0400, calvin247(at)aol(dot)com wrote:
> Hello...
>
> I'm in rather dire-straits here. I just mistakenly deleted all the
> entries in a table and I need to recover them. I'm told that there's
> something I can do along the lines of "hacking up a PG to show deleted
> 'tuples'" ...
What version is this? In recents ones you can change
src/backend/utils/time/tqual.c or just compile with
-DMAKE_EXPIRED_TUPLES_VISIBLE in CFLAGS
and *I think* you should be able to see deleted tuples.
--
Alvaro Herrera (<alvherre[(at)]dcc(dot)uchile(dot)cl>)
"La vida es para el que se aventura"
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2005-04-12 21:09:46 | Simplifying bootstrap OID assignment |
| Previous Message | Tom Lane | 2005-04-12 17:42:27 | Re: System vs non-system casts |