Re: Feature request for setting the role with the URL connection - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: Feature request for setting the role with the URL connection
Date
Msg-id 43A877BA.5040208@opencloud.com
Whole thread Raw
In response to Feature request for setting the role with the URL connection string  (Roland Walter <rwa@mosaic-ag.com>)
Responses Re: Feature request for setting the role with the URL  (Roland Walter <rwa@mosaic-ag.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Oliver Jowett
Date:
Subject: Re: Applet - JDBC?
Next
From: "j.random.programmer"
Date:
Subject: Re: Bug: Driver(8.2dev-500.jdbc3) does not handle boolean->BIT correctly