Vadim Mikheev <vadim(at)krs(dot)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