Re: BUG #1546: Temp table isn't deleted at the end of a - Mailing list pgsql-bugs

From Stephan Szabo
Subject Re: BUG #1546: Temp table isn't deleted at the end of a
Date
Msg-id 20050318064510.D65163@megazone.bigpanda.com
Whole thread Raw
In response to BUG #1546: Temp table isn't deleted at the end of a transaction / ON COMMIT DROP has no effect  ("Oliver Siegmar" <o.siegmar@vitrado.de>)
List pgsql-bugs
On Fri, 18 Mar 2005, Oliver Siegmar wrote:

> On Friday 18 March 2005 14:29, Stephan Szabo wrote:
> > Given the error message, this seems to be the whole plpgsql caches query
> > plans but we don't invalidate those plans when there are schema changes.
>
> I already tried to execute the 'CREATE TEMP TABLE' statement using EXECUTE to
> avoid cache problems - same problem!

You have to EXECUTE the insert as well.

pgsql-bugs by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: BUG #1546: Temp table isn't deleted at the end of a
Next
From: Bruce Momjian
Date:
Subject: Re: Possible temp table bug in PostgreSQL 7.4.7 / 8.0.1