Re: Big 7.1 open items

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Big 7.1 open items
Дата
Msg-id 14752.960996980@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Big 7.1 open items  ("Oliver Elphick" <olly@lfix.co.uk>)
Ответы Re: Big 7.1 open items  (Peter Eisentraut <peter_e@gmx.net>)
Re: Big 7.1 open items  (JanWieck@t-online.de (Jan Wieck))
Список pgsql-hackers
"Oliver Elphick" <olly@lfix.co.uk> writes:
> I suggest that DROP TABLE in a transaction should not be allowed.

I had actually made it do that for a short time early this year,
and was shouted down.  On reflection I have to agree; it's too useful
to be able to do
begin;drop table foo;create table foo(new schema);...end;

You do indeed lose big if you suffer an error partway through, but
the answer to that is to fix our file naming conventions so that we
can support rollback of drop table.

Also note the complaints we've been getting about CREATE USER not
working inside a transaction block.  That is a case where someone
(Peter IIRC) took the more hard-line approach of emitting an error
instead of a warning.  I think it was not the right choice to make.
        regards, tom lane


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

Предыдущее
От: Thomas Lockhart
Дата:
Сообщение: Developer's snapshot docs
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: Big 7.1 open items