Tom Lane wrote:
> Mike Mascari <mascarm@mascari.com> writes:
> > ... Would it be possible to have either a GUC setting or a grammar
> > change to allow TEMPORARY tables to be dropped at transaction commit?
>
> This seems like a not unreasonable idea; but the lack of other responses
> suggests that the market for such a feature isn't there. Perhaps you
> should try to drum up some interest on pgsql-general and/or pgsql-sql.
I was wondering if it made sense to remove temp tables on transaction
finish if the temp table was created in the transaction? That wouldn't
require any syntax change. Seems non-standard though, and I can imagine
a few cases where you wouldn't want it.
-- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610)
853-3000+ If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill,
Pennsylvania19026