X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id F074A9DCA85 for ; Tue, 20 Dec 2005 17:29:20 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 67327-07 for ; Tue, 20 Dec 2005 17:29:22 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [131.203.101.226]) by postgresql.org (Postfix) with ESMTP id B5CAB9DCAA5 for ; Tue, 20 Dec 2005 17:29:18 -0400 (AST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1Eop2t-000315-3n; Wed, 21 Dec 2005 10:29:19 +1300 Message-ID: <43A877BA.5040208@opencloud.com> Date: Tue, 20 Dec 2005 21:29:30 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Roland Walter CC: pgsql-jdbc@postgresql.org Subject: Re: Feature request for setting the role with the URL connection References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.086 required=5 tests=[AWL=0.086] X-Spam-Score: 0.086 X-Spam-Level: X-Archive-Number: 200512/99 X-Sequence-Number: 14430 Roland Walter wrote: > (Viewing on the source code, I did not find any starting point to do > it myself.) Probably do it in the AbstractJdbc2Connection constructor -- run an appropriate query after the underlying connection is established. This almost belongs in the application, though.. isn't the role syntax standardized? -O