Re: [PATCH] Send numeric version to clients

From: Craig Ringer <craig(at)2ndquadrant(dot)com>
To: Dave Cramer <pg(at)fastcrypt(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>, Petr Jelinek <petr(dot)jelinek(at)2ndquadrant(dot)com>, Abhijit Menon-Sen <abhijit(dot)menon-sen(at)2ndquadrant(dot)com>, Kevin Grittner <kgrittn(at)gmail(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: Re: [PATCH] Send numeric version to clients
Date: 2016-08-30 04:17:19
Message-ID: CAMsr+YHjYV6cE_ss7msThH6Uzf5uRWngyLrwkqMc17GQ4iWB9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 30 Aug 2016 9:07 AM, "Dave Cramer" <pg(at)fastcrypt(dot)com> wrote:
>
>
> On 29 August 2016 at 15:42, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>>
>> Kevin Grittner <kgrittn(at)gmail(dot)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 ?

IMO it just needs to be consistent with the numeric version we report
elsewhere - PG_VERSION_NUM, server_version_num etc.

>
> Dave Cramer
>
> davec(at)postgresintl(dot)com
> www.postgresintl.com
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Kyotaro HORIGUCHI 2016-08-30 04:21:31 Comment on GatherPath.single_copy
Previous Message Kyotaro HORIGUCHI 2016-08-30 03:17:52 Re: asynchronous and vectorized execution