| От | 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 по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера