Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-hackers by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group