Re: HELP - Recover function delete - Mailing list pgsql-general

From Bruce Momjian
Subject Re: HELP - Recover function delete
Date
Msg-id 200509200213.j8K2DNx14859@candle.pha.pa.us
Whole thread Raw
In response to HELP - Recover function delete  ("Pierre Racine" <racine_pierre@hotmail.com>)
List 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@postgresql.org so that your
>        message can get through to the mailing list cleanly
>

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

pgsql-general by date:

Previous
From: Neil Dugan
Date:
Subject: Re: help me pls
Next
From: "Thomas F. O'Connell"
Date:
Subject: Re: Replication