Re: [COMMITTERS] recover deleted records

From: Allan Morris Caras <amscaras(at)yahoo(dot)com>
To: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [COMMITTERS] recover deleted records
Date: 2009-11-24 11:12:51
Message-ID: 117528.19299.qm@web110510.mail.gq1.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-general

Hi,

I tried to test it but it says couldn't find class 'pg_attribute'

When I tried looking into the table that deleted records from, it didn't revert back what I've deleted.

Any clues?

----- Original Message ----
From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Allan Morris Caras <amscaras(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Sent: Tue, November 24, 2009 6:31:17 PM
Subject: Re: [COMMITTERS] recover deleted records

2009/11/24 Allan Morris Caras <amscaras(at)yahoo(dot)com>:
> Hi,
>
> No, auto vacuum is not enabled.

ok then don't try to call vacuum in any form. so some undelete is
possible. It was good new. Bad new - nobody wrote any tool for it.
There are pgfsck, but itsn't three years actualised - but you can try
it.

look on http://svana.org/kleptog/pgsql/pgfsck.html

good luck
Pavel Stehule

>
>
>
>
>
> ----- Original Message ----
> From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
> To: Allan Morris Caras <amscaras(at)yahoo(dot)com>
> Cc: "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org>
> Sent: Tue, November 24, 2009 6:14:22 PM
> Subject: Re: [COMMITTERS] recover deleted records
>
> Hello
>
> Have you enabled autovacuum?
>
> Pavel
>
> p.s. please, don't use pgsql-commiters mailing list for general questions.
>
> use pgsql-general.
>
> 2009/11/24 Allan Morris Caras <amscaras(at)yahoo(dot)com>:
>> I have accidentally / stupidly deleted records from a table.
>>
>> I tried delete from where exist and it deleted the whole table.
>>
>> Is there a way I can recover it?
>>
>> I'm using postgres 8.4
>>
>> Any help is appreciated. TIA
>>
>>
>>
>>
>>
>> --
>> Sent via pgsql-committers mailing list (pgsql-committers(at)postgresql(dot)org)
>> To make changes to your subscription:
>> http://www.postgresql.org/mailpref/pgsql-committers
>>
>
>
>
>
>

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Pavel Stehule 2009-11-24 12:14:25 Re: [COMMITTERS] recover deleted records
Previous Message Pavel Stehule 2009-11-24 10:31:17 Re: [COMMITTERS] recover deleted records

Browse pgsql-general by date

  From Date Subject
Next Message Matthew Wakeling 2009-11-24 11:14:12 Re: [PERFORM] Strange performance degradation
Previous Message Hannu Krosing 2009-11-24 11:06:46 Re: [HACKERS] Updating column on row update