Re: HELP - Recover function delete

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Pierre Racine <racine_pierre(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: HELP - Recover function delete
Date: 2005-09-20 02:13:23
Message-ID: 200509200213.j8K2DNx14859@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


8.1 will have a define called MAKE_EXPIRED_TUPLES_VISIBLE so you can
recompile and see deleted rows. However, it isn't in 8.0 so you would
have to download a current snapshot, find that define, add it to your
release, compile, and use it.

---------------------------------------------------------------------------

Pierre Racine wrote:
> Hi,
>
> I just hit twice the delete button on a function I spent two days writing
> (without backing it up. I know... I know...). Is there a way to recover it?
>
> A simple garbage would do the job. I don't know many software now that do
> not implement a sort of simple mecanism to recover what we threw away by
> mistake...
>
> Pierre
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: if posting/reading through Usenet, please send an appropriate
> subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
> message can get through to the mailing list cleanly
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Thomas F. O'Connell 2005-09-20 02:21:47 Re: Replication
Previous Message Neil Dugan 2005-09-20 01:54:49 Re: help me pls