Re: PITR Phase 2 - Design Planning

Simon Riggs <simon@2ndquadrant.com>

From: Simon Riggs <simon@2ndquadrant.com>
To: Peter Galbavy <peter.galbavy@knowtion.net>
Cc: Bruno Wolff III <bruno@wolff.to>, pgsql-hackers@postgresql.org
Date: 2004-04-27T22:38:11Z
Lists: pgsql-hackers
On Fri, 2004-05-28 at 00:02, Peter Galbavy wrote:
> Bruno Wolff III wrote:
> > For long running transactions where you want to recover as much as possible,
> > one might also want to recover up until just before a specific transaction
> > committed (as opposed to started).
> 
> If your DB has died and you are recovering it, how do you reestablish a 
> session so that a transaction can complete ? Doesn't all client 
> connections assume that a transaction has failed if the connection to 
> the DB fails ?
> 

Reasonable question...

You re-establish connection, but cannot resume the failed transaction.

PostgreSQL already has crash recovery...this is for restore from backup
scenarios. 

Best Regards, Simon Riggs