pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marko Kreen <markokr@gmail.com>
To: depesz@depesz.com
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pg@fastcrypt.com
Cc: Josh Berkus <josh@agliodbs.com>
Cc: Heikki Linnakangas <heikki@enterprisedb.com>
Cc: lindner@inuus.com
Cc: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-jdbc@postgresql.org
Cc: PgBouncer <pgbouncer-general@pgfoundry.org>
Subject: Re: Prepared Statements vs. pgbouncer
Date: Tue, 2 Oct 2007 23:05:05 +0300
Message-ID: <e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com> (raw)
In-Reply-To: <20071002123838.GA1462@depesz.com>
References: <24584.1191033096@sss.pgh.pa.us>
	<46FE3B1A.7020603@agliodbs.com>
	<46FED7FA.6060309@opencloud.com>
	<46FFC314.5080205@agliodbs.com>
	<47000C2E.8030409@opencloud.com>
	<4700B21C.1000008@enterprisedb.com>
	<47013A0E.6080607@agliodbs.com>
	<47013E0F.8050508@fastcrypt.com>
	<19675.1191264250@sss.pgh.pa.us>
	<20071002123838.GA1462@depesz.com>

On 10/2/07, hubert depesz lubaczewski <depesz@depesz.com> wrote:
> On Mon, Oct 01, 2007 at 02:44:10PM -0400, Tom Lane wrote:
> > Dave Cramer <pg@fastcrypt.com> writes:
> > > Josh Berkus wrote:
> > >> So where is it going to be easier to fix this ... pgBouncer, or pg-JDBC?
> > > pgBouncer is broken so I'd fix it.
> > It's an enormous mistake to imagine that prepared statements are the
> > only issue.  What about GUC settings and temp tables, to mention a
> > couple other bits of per-session state?
>
> i think that calling it broken is "a bit" far fetched.

Thanks, I think so too.  Considering all the other things that
are broken by transaction pooling, "it would be cute to have it"
is the best I can think of.

I did a quick feature matrix of things broken by pooler in general:

 https://developer.skype.com/SkypeGarage/DbProjects/PgBouncer

Seems like the protocol-level plans is only one of them that
_could_ be worked around in pooler.  Rest will stay broken.

Coincidentally, the prepared plans happens to be the pet-feature
of JDBC, as I understand...


So, personally I don't have time to work on the feature, but
I have thought a draft design that could somewhat work in the
context of pgbouncer.  If anyone is interested to work on that,
contact me.

-- 
marko



view thread (48+ messages)  latest in thread

Message-ID: <e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com>
Permalink:  ../e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com/
Also on:    postgresql.org/message-id/e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: markokr@gmail.com, depesz@depesz.com, tgl@sss.pgh.pa.us, pg@fastcrypt.com, josh@agliodbs.com, heikki@enterprisedb.com, lindner@inuus.com, oliver@opencloud.com, pgbouncer-general@pgfoundry.org
  Subject: Re: Prepared Statements vs. pgbouncer
  In-Reply-To: <e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com>
  References: <24584.1191033096@sss.pgh.pa.us> <46FE3B1A.7020603@agliodbs.com> <46FED7FA.6060309@opencloud.com> <46FFC314.5080205@agliodbs.com> <47000C2E.8030409@opencloud.com> <4700B21C.1000008@enterprisedb.com> <47013A0E.6080607@agliodbs.com> <47013E0F.8050508@fastcrypt.com> <19675.1191264250@sss.pgh.pa.us> <20071002123838.GA1462@depesz.com> <e51f66da0710021305s39616429ke3a1f783ab01b481@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox