Temp Tables & Connection Pooling

Поиск
Список
Период
Сортировка
От Gerald Gutierrez
Тема Temp Tables & Connection Pooling
Дата
Msg-id 5.0.2.1.0.20010302103136.02a1a388@mail.rchmd1.bc.wave.home.com
обсуждение исходный текст
Ответы Re: Temp Tables & Connection Pooling  (David Olbersen <dave@slickness.org>)
Список 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.



В списке pgsql-sql по дате отправления:

Предыдущее
От: "Tangorre, Michael T."
Дата:
Сообщение: Database Question
Следующее
От: David Olbersen
Дата:
Сообщение: Re: Temp Tables & Connection Pooling