pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Dimitri Fontaine <dimitri@2ndQuadrant.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Radosław Smogura <rsmogura@softperience.eu>
Cc: Magnus Hagander <magnus@hagander.net>
Cc: David Fetter <david@fetter.org>
Cc: Kevin Grittner <Kevin.Grittner@wicourts.gov>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Cc: PostgreSQL JDBC List <pgsql-jdbc@postgresql.org>
Cc: robertmhaas@gmail.com
Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
Date: Fri, 15 Oct 2010 16:14:40 -0400
Message-ID: <20101015201440.GT26232@tamriel.snowman.net> (raw)
In-Reply-To: <m2iq134414.fsf@2ndQuadrant.fr>
References: <4CB43A4C0200002500036826@gw.wicourts.gov>
	<20101012155531.GB29627@fetter.org>
	<AANLkTi=m7tzv7RzCmqD6ARWm_QWbg90Jmd0uTkosiZo4@mail.gmail.com>
	<528f31015d6bf68650646b9b4ba71a10@smogura-softworks.eu>
	<AANLkTinFMPHaa1SH-uf7fqBTkVcMZYRpxqjaaYUKHEHA@mail.gmail.com>
	<c17d0cbfea679088a106a9c9b573196c@smogura-softworks.eu>
	<20101015142126.GQ26232@tamriel.snowman.net>
	<20260.1287153534@sss.pgh.pa.us>
	<20101015145248.GR26232@tamriel.snowman.net>
	<m2iq134414.fsf@2ndQuadrant.fr>

Dimitri,

* Dimitri Fontaine (dimitri@2ndQuadrant.fr) wrote:
[... much useful info ...]

Thanks for all of that, I certainly appreciate it.

> By default pgbouncer maintains a different pool per database and role,
> so you should be partly covered here.

No, not really..  We have a single unprivileged account which is used
for login and then that account can 'set role' to other roles (of
course, we set it up so the login role *has* to set role to another user
to be able to do anything).  I doubt pgbouncer is going to switch pooler
connections on seeing a set role and I'm not really sure it'd make sense
for it to anyway.

	Thanks,

		Stephen

Attachments:

  signature.asc (application/pgp-signature, 196B) download

view thread (45+ messages)  latest in thread

Message-ID: <20101015201440.GT26232@tamriel.snowman.net>
Permalink:  ../20101015201440.GT26232@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20101015201440.GT26232@tamriel.snowman.net

 · 

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: sfrost@snowman.net, dimitri@2ndQuadrant.fr, tgl@sss.pgh.pa.us, rsmogura@softperience.eu, magnus@hagander.net, david@fetter.org, Kevin.Grittner@wicourts.gov, pgsql-hackers@postgresql.org, robertmhaas@gmail.com
  Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al.
  In-Reply-To: <20101015201440.GT26232@tamriel.snowman.net>
  References: <4CB43A4C0200002500036826@gw.wicourts.gov> <20101012155531.GB29627@fetter.org> <AANLkTi=m7tzv7RzCmqD6ARWm_QWbg90Jmd0uTkosiZo4@mail.gmail.com> <528f31015d6bf68650646b9b4ba71a10@smogura-softworks.eu> <AANLkTinFMPHaa1SH-uf7fqBTkVcMZYRpxqjaaYUKHEHA@mail.gmail.com> <c17d0cbfea679088a106a9c9b573196c@smogura-softworks.eu> <20101015142126.GQ26232@tamriel.snowman.net> <20260.1287153534@sss.pgh.pa.us> <20101015145248.GR26232@tamriel.snowman.net> <m2iq134414.fsf@2ndQuadrant.fr> <20101015201440.GT26232@tamriel.snowman.net>

* 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