pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dmitriy Yusupov <dj@ns.anapa.org.ru>
To: pgsql-sql@postgresql.org
Subject: Temp table and loop call from one session
Date: Wed, 07 Jun 2000 18:21:48 +0400
Message-ID: <393E5A7C.7966896B@ns.anapa.org.ru> (raw)

Hi all!
	
	I try to do:
	
	PL function 1
		loop:
 		     call PL function 2

	PL function 2
		create temp table ...
		...
		drop temp table

	But drop can't work in one session! It's documented.
	The method with create-drop temp table is most efficient for my
problem.
	What can I do? Any idea?
	
	
Dmitriy



Message-ID: <393E5A7C.7966896B@ns.anapa.org.ru>
Permalink:  ../393E5A7C.7966896B@ns.anapa.org.ru/
Also on:    postgresql.org/message-id/393E5A7C.7966896B@ns.anapa.org.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: dj@ns.anapa.org.ru
  Subject: Re: Temp table and loop call from one session
  In-Reply-To: <393E5A7C.7966896B@ns.anapa.org.ru>
  References: <393E5A7C.7966896B@ns.anapa.org.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox