Re: temporary table / recursion - Mailing list pgsql-interfaces

From Tom Lane
Subject Re: temporary table / recursion
Date
Msg-id 1940.1171215676@sss.pgh.pa.us
Whole thread Raw
In response to temporary table / recursion  ("Robert Wimmer" <seppwimmer@hotmail.com>)
List pgsql-interfaces
"Robert Wimmer" <seppwimmer@hotmail.com> writes:
> i cannot drop a temporary table that was created in a plpgsql function.

It was created with "on commit drop".  Are you sure it still exists?

The problem looks to me like the well-known issue that plpgsql caches
plans, and so you can't have it refer to different temp tables on
successive executions (in the same session) unless you use EXECUTE.
        regards, tom lane


pgsql-interfaces by date:

Previous
From: imad
Date:
Subject: Re: temporary table / recursion
Next
From: "Robert Wimmer"
Date:
Subject: Re: temporary table / recursion