Re: constraint modification on todo list - Mailing list pgsql-hackers

From Jeroen Ruigrok/asmodai
Subject Re: constraint modification on todo list
Date
Msg-id 20030911053513.GF23805@nexus.ninth-circle.org
Whole thread Raw
In response to Re: constraint modification on todo list  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: constraint modification on todo list
List pgsql-hackers
-On [20030909 00:42], Tom Lane (tgl@sss.pgh.pa.us) wrote:
>IIRC, Oracle does not have rollback-able DDL.  That might imply that the
>reason they have MODIFY CONSTRAINT is that in Oracle you can't use the
>above way to eliminate the window.  Can you put ALTERs inside
>transactions at all in Oracle?

As one of the Oracle gurus at work told me:

DDL does an implicit commit, so no rollback possible.
It also shouldn't be necessary, because you cannot change a table which
is in use.
It attempts to do a table lock and it fails.

-- 
Jeroen Ruigrok van der Werven <asmodai(at)wxs.nl> / asmodai
PGP fingerprint: 2D92 980E 45FE 2C28 9DB7  9D88 97E6 839B 2EAC 625B
http://www.tendra.org/   | http://www.in-nomine.org/~asmodai/diary/
We should take care not to make the intellect our god; it has, of
course, powerful muscles, but no personality...


pgsql-hackers by date:

Previous
From: "Matthew T. O'Connor"
Date:
Subject: Re: Another small bug (pg_autovacuum)
Next
From: Andrew Dunstan
Date:
Subject: Re: massive quotes?