Re: [HACKERS] DROP TABLE inside transaction block

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [HACKERS] DROP TABLE inside transaction block
Дата
Msg-id 16933.936627252@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [HACKERS] DROP TABLE inside transaction block  (Vadim Mikheev <vadim@krs.ru>)
Список pgsql-hackers
Vadim Mikheev <vadim@krs.ru> writes:
>> and we can't get it back.  Solution: only allow DROP TABLE outside
>> BEGIN, so that the user can't try to change his mind later.

> What if table was created inside BEGIN/END?
> Any reason to disallow DROP of local tables?

None, and in fact the code does allow that case, but I forgot to
mention it.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] md.c is feeling much better now, thank you
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [HACKERS] DROP TABLE inside transaction block