Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 65EB41337B4A for ; Fri, 15 Oct 2010 17:14:49 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 38603-03; Fri, 15 Oct 2010 20:14:41 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from tamriel.snowman.net (tamriel.snowman.net [72.66.115.51]) by mail.postgresql.org (Postfix) with ESMTP id 28DBD1336DB6; Fri, 15 Oct 2010 17:14:41 -0300 (ADT) Received: by tamriel.snowman.net (Postfix, from userid 1000) id 4346E228F0; Fri, 15 Oct 2010 16:14:40 -0400 (EDT) Date: Fri, 15 Oct 2010 16:14:40 -0400 From: Stephen Frost To: Dimitri Fontaine Cc: Tom Lane , =?utf8?B?UmFkb3PFgmF3?= Smogura , Magnus Hagander , David Fetter , Kevin Grittner , PG Hackers , PostgreSQL JDBC List , robertmhaas@gmail.com Subject: Re: [JDBC] Support for JDBC setQueryTimeout, et al. Message-ID: <20101015201440.GT26232@tamriel.snowman.net> References: <4CB43A4C0200002500036826@gw.wicourts.gov> <20101012155531.GB29627@fetter.org> <528f31015d6bf68650646b9b4ba71a10@smogura-softworks.eu> <20101015142126.GQ26232@tamriel.snowman.net> <20260.1287153534@sss.pgh.pa.us> <20101015145248.GR26232@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="RDUyZ6QwRKTcomAW" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.6.26-1-amd64 (x86_64) X-Uptime: 16:10:59 up 414 days, 7:35, 14 users, load average: 0.13, 0.12, 0.03 User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201010/1047 X-Sequence-Number: 172087 --RDUyZ6QwRKTcomAW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 --RDUyZ6QwRKTcomAW Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAky4tjAACgkQrzgMPqB3kij1DgCePqDB9TPa9sLtzZLBqQxOw8jA vdIAnj2R9r70kBryxLvaF2rCJjjELHV/ =8SL+ -----END PGP SIGNATURE----- --RDUyZ6QwRKTcomAW--