Re: constraint modification on todo list

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: constraint modification on todo list
Дата
Msg-id 6731.1063060823@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: constraint modification on todo list  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: constraint modification on todo list  (Jeroen Ruigrok/asmodai <asmodai@wxs.nl>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Oh, you bring up two important issues --- one is is the gap in time
> between the drop and the recreate.  This case can be done by
> doing the query in a transaction --- the lock will exist until the
> transaction completes, and in fact, you can roll it back in case you
> don't like it.

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?
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: FreeBSD/i386 thread test
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: constraint modification on todo list