Re: Fragged State in 7.0.2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Fragged State in 7.0.2
Date
Msg-id 14370.968251948@sss.pgh.pa.us
Whole thread Raw
In response to Re: Fragged State in 7.0.2  ("Mike Mascari" <mascarm@mascari.com>)
List pgsql-hackers
"Mike Mascari" <mascarm@mascari.com> writes:
> Rolling back DDL statements properly
> in a MVCC transaction environment is very difficult, as 
> you can imagine. IIRC Oracle cheats, Informix and DEC Rdb
> lock the DDL target until transaction commit, etc. If 
> the PostgreSQL team implements their stated goal in this
> area, it will be far superior to its commercial counterparts.

AFAIK we intend to keep the current behavior of exclusively
locking any table you try to drop or modify.  So it'll be
pretty much like the Informix/RDB behavior.

But yes, at the moment DROP or RENAME inside a transaction is
pretty risky (and 7.0 tells you so, with an annoying NOTICE).
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Re: [PATCHES] Important 7.0.* fix to ensure buffers are released
Next
From: Zeugswetter Andreas SB
Date:
Subject: AW: AW: A fine point about OUTER JOIN semantics