Re: Temporary Table Problem

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Dinesh Parikh <dineshp(at)newgen(dot)co(dot)in>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Temporary Table Problem
Date: 2001-09-29 06:06:38
Message-ID: Pine.BSF.4.21.0109282303580.29157-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-novice


IIRC, any things where you're doing creates/drops
in plpgsql pretty much mean you have to generate
the statements as strings and use EXECUTE which
will prevent the plans from being cached.

On Fri, 28 Sep 2001, Dinesh Parikh wrote:

> Dear all, I have a strange problem.Document says that one can create a
> temporary table in a session. I had created a temporary table in
> languge plpgsql.(Actually in a procedure). After completing my task I
> droped a table within a seesion(In same Function). Now problem arises.
> When I again calles that stored procedure (Function) then it says
> relation does not exist . What may be the cause of that problem. It is
> urgent. I need ed thi function as internal function so it called again
> and again.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2001-09-29 06:32:21 Re: Dynamic Query problem
Previous Message Pat M 2001-09-29 05:14:44 VB 6 pro to postgres suggestion needed

Browse pgsql-novice by date

  From Date Subject
Next Message Stephan Szabo 2001-09-29 06:32:21 Re: Dynamic Query problem
Previous Message Philip Hallstrom 2001-09-29 05:41:57 Re: country code and state code tables