Re: Application name patch - v2 - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Application name patch - v2
Date
Msg-id 6333.1256077365@sss.pgh.pa.us
Whole thread Raw
In response to Re: Application name patch - v2  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Responses Re: Application name patch - v2
List pgsql-hackers
"Kevin Grittner" <Kevin.Grittner@wicourts.gov> writes:
> Magnus Hagander <magnus@hagander.net> wrote:
>> For java, it doesn't even go through libpq, so it wouldn't be set
>> for it. And I'd expect the JDBC driver to set it based on Something
>> Reasonable (TM) that it can get the information about. After all,
>> this thing was listed in the JDBC spec somebody said...
> I can't see a good way to get a meaningful default from within the
> bowels of the JDBC driver, unless it's taking a system property or
> environment variable.

[ scratches head... ]  I thought the JDBC spec already said exactly how
one would set this.  Why would we go to significant effort to make it
behave contrary to spec?
        regards, tom lane


pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Going, going, GUCs!
Next
From: Josh Berkus
Date:
Subject: Re: alpha2 release notes