Re: [HACKERS] DROP TABLE inside transaction block

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Vadim Mikheev <vadim(at)krs(dot)ru>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] DROP TABLE inside transaction block
Date: 1999-09-06 14:14:12
Message-ID: 16933.936627252@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 1999-09-06 14:44:00 Re: [HACKERS] DROP TABLE inside transaction block
Previous Message Tom Lane 1999-09-06 14:12:42 Re: [HACKERS] md.c is feeling much better now, thank you