Re: Table lock while adding a column and clients are logged in

From: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
To: Alban Hertroys <dalroi(at)solfertje(dot)student(dot)utwente(dot)nl>
Cc: Sven Haag <sven-haag(at)gmx(dot)de>, pgsql-general(at)postgresql(dot)org
Subject: Re: Table lock while adding a column and clients are logged in
Date: 2011-04-03 09:31:02
Message-ID: 1AB590A7-8245-42C0-AF30-96206D9DBE41@solfertje.student.utwente.nl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 3 Apr 2011, at 11:22, Alban Hertroys wrote:

> Oracle and SQL server don't "suffer" from this because they do not handle DDL statements transactionally (I could be mistaken about SQL server, I don't know it all that well).

I forgot to mention, if you perform DDL in Oracle all your currently running transactions are implicitly rolled back. That may be something you want to be aware of.

Alban Hertroys

--
If you can't see the forest for the trees,
cut the trees and you'll see there is no forest.

!DSPAM:737,4d983e5e651347237915052!

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Henry C. 2011-04-03 10:03:39 Re: Autovacuum firing up during my manual vacuum on same table
Previous Message Alban Hertroys 2011-04-03 09:22:10 Re: Table lock while adding a column and clients are logged in