Temp Tables & Connection Pooling

From: Gerald Gutierrez <pozix(at)home(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Temp Tables & Connection Pooling
Date: 2001-03-02 18:40:00
Message-ID: 5.0.2.1.0.20010302103136.02a1a388@mail.rchmd1.bc.wave.home.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


I use PostgreSQL via a connection pooling mechanism, whether it be J2EE or
PHP. I've been able to achieve good performance this way, and it has been
good to me.

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?

I'd appreciate any insights.

Gerald.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message David Olbersen 2001-03-02 20:48:09 Re: Temp Tables & Connection Pooling
Previous Message Tom Lane 2001-03-02 17:18:10 Re: union & subqueries