On 30 Aug 2016 9:07 AM, "Dave Cramer" <p...@fastcrypt.com> wrote:
>
>
> On 29 August 2016 at 15:42, Tom Lane <t...@sss.pgh.pa.us> wrote:
>>
>> Kevin Grittner <kgri...@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 ?

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

>
> Dave Cramer
>
> da...@postgresintl.com
> www.postgresintl.com
>

Reply via email to