Re: Speed up JDBC connection creation on 9.0+

Поиск
Список
Период
Сортировка
От Sehrope Sarkuni
Тема Re: Speed up JDBC connection creation on 9.0+
Дата
Msg-id CAH7T-ao=OHhc5vghyKqLHufa8c-2x_DtsfkMOBdYsmPDDtPpig@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Speed up JDBC connection creation on 9.0+  (Gavin Flower <GavinFlower@archidevsys.co.nz>)
Ответы Re: Speed up JDBC connection creation on 9.0+
Список 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 по дате отправления:

Предыдущее
От: Gavin Flower
Дата:
Сообщение: Re: Speed up JDBC connection creation on 9.0+
Следующее
От: Gavin Flower
Дата:
Сообщение: Re: Speed up JDBC connection creation on 9.0+