Re: [PATCH] Send numeric version to clients - Mailing list pgsql-hackers

From Dave Cramer
Subject Re: [PATCH] Send numeric version to clients
Date
Msg-id CADK3HHLGLHJGV6pOiZ=OiL97vHPHaQ++9BR0qPwjwfyJnhukrg@mail.gmail.com
Whole thread Raw
In response to Re: [PATCH] Send numeric version to clients  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [PATCH] Send numeric version to clients  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers

On 29 August 2016 at 15:42, Tom Lane <tgl@sss.pgh.pa.us> wrote:
Kevin Grittner <kgrittn@gmail.com> writes:
> Regarding Java, for anything above the driver itself the
> JDBC API says the DatabaseMetaData class must implement these
> methods:
> ...
> That *should* make it just a problem for the driver itself.  That
> seems simple enough until you check what those methods have been
> returning so far.

Seems like we just make getDatabaseMinorVersion() return zero for
any major >= 10.  That might not have been the best thing to do in
a green field, but given the precedent ...

                        regards, tom lane


seems to me that it should report 10 for the major and whatever comes after the . for the minor ?

pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Renaming of pg_xlog and pg_clog
Next
From: Etsuro Fujita
Date:
Subject: Re: Odd oid-system-column handling in postgres_fdw