Re: Possible to ignore transactions > n?

From: Bruno Wolff III <bruno(at)wolff(dot)to>
To: John Barham <jbarham(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Possible to ignore transactions > n?
Date: 2005-06-09 02:41:55
Message-ID: 20050609024155.GA6139@wolff.to
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, Jun 07, 2005 at 10:25:26 -0700,
John Barham <jbarham(at)gmail(dot)com> wrote:
> Is is possible to tell PostgreSQL to ignore transactions committed
> after some point? In particular I want to get it to "rollback" a
> faulty recovery.

PITR will let you do this. You need to have a complete backup of the
database cluster and WAL logs from the time the backup was started
through the time the bad transaction was committed. I haven't tried
to ever do this, but there is documentation for 8.0 on the procedure.
The development docs might be a bit better and are probably worth looking
at.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Alvaro Herrera 2005-06-09 04:33:41 Re: So maybe SQLERRM? Sb knows how to check it?
Previous Message Neil Conway 2005-06-09 02:25:19 Re: So maybe SQLERRM? Sb knows how to check it?