Re: Persistent data per connection

Поиск
Список
Период
Сортировка
От Jeff Amiel
Тема Re: Persistent data per connection
Дата
Msg-id 424442D2.5010207@istreamimaging.com
обсуждение исходный текст
Ответ на Re: Persistent data per connection  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Persistent data per connection  (Steve Atkins <steve@blighty.com>)
Список pgsql-general
because the connection is never really dropped...
using a connection pool....so it's just reclaimed by the pool on a
connection.close() or after a  timeout  period

Tom Lane wrote:

>Jeff Amiel <jamiel@istreamimaging.com> writes:
>
>
>>We've been struggling for several days now to come up with a mechanism
>>that allows us to establish a mechanism to store data that remains
>>persistent for the life of the connection.
>>
>>
>
>Why don't you just store it in a temporary table?  Goes away at
>connection drop by definition ... and each connection can use the same
>name for the temp table, so coding is easy.
>
>            regards, tom lane
>
>


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

Предыдущее
От: Thomas F.O'Connell
Дата:
Сообщение: Re: Referential integrity using constant in foreign key
Следующее
От: "Joshua D. Drake"
Дата:
Сообщение: Re: Persistent data per connection