From: David Olbersen <dave@slickness.org>
To: Gerald Gutierrez <pozix@home.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Temp Tables & Connection Pooling
Date: Fri, 2 Mar 2001 12:48:09 -0800 (PST)
Message-ID: <Pine.LNX.4.31.0103021247290.18710-100000@bubbles.electricutopia.net> (raw)
In-Reply-To: <5.0.2.1.0.20010302103136.02a1a388@mail.rchmd1.bc.wave.home.com>
On Fri, 2 Mar 2001, Gerald Gutierrez wrote:
->Recently I wanted to implement Dijkstra's algorithm as a stored procedure,
->and finding that PL/PGSQL cannot return record sets, I thought about using
->a temporary table for the results. If tempoary tables are session-specific,
->however, then wouldn't connection pooling make it unusable since the table
->might "disappear" from one query to the next? What are alternative
->approaches to implementing Dijkstra's algorithm inside the database?
<newbie>
Wouldn't a VIEW do what you want?
</newbie>
-- Dave
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: dave@slickness.org, pozix@home.com
Subject: Re: Temp Tables & Connection Pooling
In-Reply-To: <Pine.LNX.4.31.0103021247290.18710-100000@bubbles.electricutopia.net>
References: <5.0.2.1.0.20010302103136.02a1a388@mail.rchmd1.bc.wave.home.com> <Pine.LNX.4.31.0103021247290.18710-100000@bubbles.electricutopia.net>
* 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