Re: Table lock while adding a column and clients are logged in

Поиск
Список
Период
Сортировка
От Thomas Kellerer
Тема Re: Table lock while adding a column and clients are logged in
Дата
Msg-id in9t0v$ne2$1@dough.gmane.org
обсуждение исходный текст
Ответ на Re: Table lock while adding a column and clients are logged in  (Alban Hertroys <dalroi@solfertje.student.utwente.nl>)
Список pgsql-general
Alban Hertroys wrote on 03.04.2011 11:31:
> On 3 Apr 2011, at 11:22, Alban Hertroys wrote:
>
>> Oracle and SQL server don't "suffer" from this because they do not
>> handle DDL statements transactionally (I could be mistaken about
>> SQL server, I don't know it all that well).
>
>
> I forgot to mention, if you perform DDL in Oracle all your currently
> running transactions are implicitly rolled back.

Not quite. The current transaction is committed, not rolled back.

http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_1001.htm#i2099120

Regards
Thomas

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

Предыдущее
От: "Henry C."
Дата:
Сообщение: Re: Autovacuum firing up during my manual vacuum on same table
Следующее
От: Thomas Kellerer
Дата:
Сообщение: Re: Table lock while adding a column and clients are logged in