HELP - Recover function delete

Started by Pierre Racineover 20 years ago2 messagesgeneral
Jump to latest
#1Pierre Racine
racine_pierre@hotmail.com

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

#2Bruce Momjian
bruce@momjian.us
In reply to: Pierre Racine (#1)
Re: HELP - Recover function delete

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