Re: Temp Tables & Connection Pooling - Mailing list pgsql-sql

From David Olbersen
Subject Re: Temp Tables & Connection Pooling
Date
Msg-id Pine.LNX.4.31.0103021247290.18710-100000@bubbles.electricutopia.net
Whole thread Raw
In response to Temp Tables & Connection Pooling  (Gerald Gutierrez <pozix@home.com>)
List pgsql-sql
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



pgsql-sql by date:

Previous
From: Gerald Gutierrez
Date:
Subject: Temp Tables & Connection Pooling
Next
From: Tom Lane
Date:
Subject: Re: Help needed -> ERROR: record arow has no field description