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
Re: Big 7.1 open items |
Список | 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 по дате отправления: