Re: Temp Tables & Connection Pooling

Поиск
Список
Период
Сортировка
Искать
От
David Olbersen
Тема
Re: Temp Tables & Connection Pooling
Дата
Msg-id
Pine.LNX.4.31.0103021247290.18710-100000@bubbles.electricutopia.net
Ответ на
Список
Дерево обсуждения
Temp Tables & Connection Pooling Gerald Gutierrez <pozix@home.com>
Re: Temp Tables & Connection Pooling David Olbersen <dave@slickness.org>
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?



Wouldn't a VIEW do what you want?



-- Dave


В списке pgsql-sql по дате отправления
От: Gerald Gutierrez
Дата:
От: Tom Lane
Дата:
FAQ