temporary tables, plpgsql and yes i bet this has been asked before - Mailing list pgsql-sql

From Murray Prior Hobbs
Subject temporary tables, plpgsql and yes i bet this has been asked before
Date
Msg-id 3C5E6329.3000805@efone.com
Whole thread Raw
Responses Re: temporary tables, plpgsql and yes i bet this has been asked  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: temporary tables, plpgsql and yes i bet this has been asked before  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-sql
in a plpgsql function
   create temporary table X
   ....

   drop table X


then in another function
   loop
       call the other function
   end loop  

i get the problem that the second time the table is created (ie in the 
second call) it is not visible

now yes i could declare the table in the calling funtion but then the 
original function is less useful to me

any clues?

murray




pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: casting question
Next
From: Bruce Momjian
Date:
Subject: Re: temporary tables, plpgsql and yes i bet this has been asked