Re: UNDO and partially commited transactions

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Martín Marqués <martin(at)bugs(dot)unl(dot)edu(dot)ar>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: UNDO and partially commited transactions
Date: 2001-07-04 00:58:42
Message-ID: 200107040058.f640wgC02729@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> I was reading the WAL documentation, and found out that UNDO is going to let
> PostgreSQL allow to make partial rollbacks on invalid transactions.

We already "undo" aborted transactions, but without using the WAL log.
Not sure if we will ever add that feature to WAL.

> What does this exactly mean? Does it mean that if I have 6 Inserts in between
> a begin work - commit work some will get through and the ones with errors no?

No, they all fail. No worries.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2001-07-04 01:04:24 Re: stuck spin lock with many concurrent users
Previous Message Tom Lane 2001-07-03 23:38:36 Re: stuck spin lock with many concurrent users