Re: Accessing dead rows within postgresql

From: Joshua Tolley <eggyknap(at)gmail(dot)com>
To: aaronenabs <aaronenabs(at)btconnect(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Accessing dead rows within postgresql
Date: 2011-03-18 20:31:31
Message-ID: 4d83c14c.04558f0a.114a.ffffb9ca@mx.google.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

On Thu, Mar 17, 2011 at 03:17:04PM -0700, aaronenabs wrote:
> well the project is about accessing the deleted rows not protected them. So
> what i would really like to achieve is to access data that i have removed
> from the database without the vacuum procedure carried out.

Well, presumably the code you'd need to look at lives in
src/backend/access/heap somewhere, or even just changing
the HeapTupleSatisfiesVisibility() macro in src/include/utils/tqual.h always
to return true. If you were to write your own app, after doing the above you'd
need to strip the heap access stuff out of postgres and build your app around
it. I think.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Dimitri 2011-03-19 04:15:02 Return only unique id's that are not associated with value
Previous Message Tom Lane 2011-03-18 15:33:44 Re: Postgresql iPhone