Re: WITH HOLD and pooled connections

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: WITH HOLD and pooled connections
Date: 2003-08-17 04:43:50
Message-ID: 200308170443.h7H4hoN10589@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


Added to TODO:

o Allow pooled connections to query prepared queries
o Allow pooled connections to close all open WITH HOLD cursors

---------------------------------------------------------------------------

Neil Conway wrote:
> On Fri, Aug 08, 2003 at 04:00:22PM -0400, Tom Lane wrote:
> > Prepared statements would be just as much of a problem. I think the
> > correct answer is simply "don't use those features in a pooled
> > environment".
>
> Well, unless you're prepared to manually manage these resources
> yourself (i.e. DEALLOCATE a prepared query when you're finished
> with it, CLOSE a holdable cursor).
>
> -Neil
>
>

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephan Szabo 2003-08-17 04:55:15 Re: Question with hashed IN
Previous Message Tom Lane 2003-08-17 04:43:03 Re: Question with hashed IN