temporary tables, plpgsql and yes i bet this has been asked before

From: Murray Prior Hobbs <murray(at)efone(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: temporary tables, plpgsql and yes i bet this has been asked before
Date: 2002-02-04 10:32:09
Message-ID: 3C5E6329.3000805@efone.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Bruce Momjian 2002-02-04 14:13:54 Re: temporary tables, plpgsql and yes i bet this has been asked
Previous Message Stephan Szabo 2002-02-02 18:58:54 Re: casting question