pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgbouncer transaction patch?
3+ messages / 2 participants
[nested] [flat]

* pgbouncer transaction patch?
@ 2012-08-15 04:27  Maciek Sakrejda <m.sakrejda@gmail.com>
  0 siblings, 2 replies; 3+ messages in thread

From: Maciek Sakrejda @ 2012-08-15 04:27 UTC (permalink / raw)
  To: pgsql-jdbc

Happened upon this:

http://treehou.se/~omar/postgresql-jdbc-8.4-701-pgbouncer_txn.patch

and the related (ancient) pgbouncer mailing list post

http://pgfoundry.org/pipermail/pgbouncer-general/2010-February/000507.html

It seems sensible, but as far as I can tell, no attempt had ever been
made to upstream this. Any thoughts on accepting this? The pgbouncer
FAQ still references this issue:

http://pgbouncer.projects.postgresql.org/doc/faq.html

I pushed it out to my github repo for easier merging (to be clear: I
did not author the patch; I merely found something that, at first
blush, seems to belong in the driver; I thought I'd take a stab at
getting it in):

https://github.com/deafbybeheading/pgjdbc/tree/pgbouncer-txn

The original author appears to be the same person who sent the mailing
list post.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgbouncer transaction patch?
@ 2012-08-15 13:57  Maciek Sakrejda <m.sakrejda@gmail.com>
  parent: Maciek Sakrejda <m.sakrejda@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Maciek Sakrejda @ 2012-08-15 13:57 UTC (permalink / raw)
  To: pgsql-jdbc

For what it's worth, I did run the tests (on Java 6); everything
passes. I don't think the change warrants any new tests.




^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: pgbouncer transaction patch?
@ 2012-09-19 05:09  Craig Ringer <ringerc@ringerc.id.au>
  parent: Maciek Sakrejda <m.sakrejda@gmail.com>
  1 sibling, 0 replies; 3+ messages in thread

From: Craig Ringer @ 2012-09-19 05:09 UTC (permalink / raw)
  To: Maciek Sakrejda <m.sakrejda@gmail.com>; +Cc: pgsql-jdbc; Dave Cramer <pg@fastcrypt.com>

On 08/15/2012 12:27 PM, Maciek Sakrejda wrote:
> Happened upon this:
>
> http://treehou.se/~omar/postgresql-jdbc-8.4-701-pgbouncer_txn.patch

Is there any reason PgJDBC should ever NOT set
QueryExecutor.QUERY_ONESHOT for COMMIT / ROLLBACK / BEGIN ? I wonder if 
this should just be made unconditional.

--
Craig Ringer




^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2012-09-19 05:09 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2012-08-15 04:27 pgbouncer transaction patch? Maciek Sakrejda <m.sakrejda@gmail.com>
2012-08-15 13:57 ` Maciek Sakrejda <m.sakrejda@gmail.com>
2012-09-19 05:09 ` Craig Ringer <ringerc@ringerc.id.au>

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