Re: Fragged State in 7.0.2

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fragged State in 7.0.2
Дата
Msg-id 14370.968251948@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Fragged State in 7.0.2  ("Mike Mascari" <mascarm@mascari.com>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Re: [PATCHES] Important 7.0.* fix to ensure buffers are released
Следующее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: AW: A fine point about OUTER JOIN semantics