Re: Speed up JDBC connection creation on 9.0+ - Mailing list pgsql-jdbc

From Sehrope Sarkuni
Subject Re: Speed up JDBC connection creation on 9.0+
Date
Msg-id CAH7T-ao=OHhc5vghyKqLHufa8c-2x_DtsfkMOBdYsmPDDtPpig@mail.gmail.com
Whole thread Raw
In response to Re: Speed up JDBC connection creation on 9.0+  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Responses Re: Speed up JDBC connection creation on 9.0+  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
List pgsql-jdbc
On Fri, Apr 18, 2014 at 7:56 PM, Gavin Flower
<GavinFlower@archidevsys.co.nz> wrote:
> What happens when we get an even more Modern Server?

Well we could use "isModernerServer" and "isModernestServer" each at
least once ...

> How about 'is9.0PlusServer', or something like it?

Yes something like that would be better.

Alternatively how about specifying the minimum expected server version
(say "minServerVersion")? That should be fairly future proof.  The
driver could even throw an exception if the server version isn't
compatible when it receives the "server_version" ParameterStatus on
init.

What do you guys think of not doing anything now and instead having
this behavior be the default in the next version of the driver?

As much as I like having a connection property to set now, I'd much
prefer to just get this "for free" by upgrading to a newer driver
without changing JDBC urls. If everybody will be assumed to be running
9.0+ (after 8.4 is EOL) then it's a bit annoying to have to add the
connection property everywhere to get this.

Regards,
-- Sehrope Sarkuni
Founder & CEO | JackDB, Inc. | http://www.jackdb.com/


pgsql-jdbc by date:

Previous
From: Gavin Flower
Date:
Subject: Re: Speed up JDBC connection creation on 9.0+
Next
From: Gavin Flower
Date:
Subject: Re: Speed up JDBC connection creation on 9.0+