Re: 10.0

From: Dave Page <dpage(at)pgadmin(dot)org>
To: Magnus Hagander <magnus(at)hagander(dot)net>
Cc: Thom Brown <thom(at)linux(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, "pgsql-hackers(at)postgresql(dot)org" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 10.0
Date: 2016-05-13 16:31:16
Message-ID: BDE65507-45D6-4A77-9A1F-0DEAD673EDEC@pgadmin.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 13 May 2016, at 17:24, Magnus Hagander <magnus(at)hagander(dot)net> wrote:
>
>> On Fri, May 13, 2016 at 5:29 PM, Dave Page <dpage(at)pgadmin(dot)org> wrote:
>> On Fri, May 13, 2016 at 4:23 PM, Thom Brown <thom(at)linux(dot)com> wrote:
>> >
>> > Well, one potential issues is that there may be projects which have
>> > already coded in 9.6 checks for feature support.
>>
>> I suspect that won't be an issue (I never heard of it being for 7.5,
>> which was released as 8.0 - but is smattered all over pgAdmin 3 for
>> example) - largely because in such apps we're almost always checking
>> for a version greater than or less than x.y.
>>
>> I imagine the bigger issue will be apps that have been written
>> assuming the first part of the version number is only a single digit.
>
> If they are, they are already broken by design. But more to the point, unless you're arguing for *never* changing to 10.0, that's not really something that should decide when we do it, because they will break.
>
> We have provided multiple ways to check this. For example, we've had PQserverVersion() since forever which returns an integer that you can just compare. We have never claimed that it would be single digit in any of the fields (first, second *or* third). I honestly don't care at all if those applications break.
>
> (We would, however, have a problem to go above 100 in all fields *except* the first one, since the integer uses a two-digit representation for each)

Oh, I don't care about such code. Just opining that it's a likely issue somewhere - and if so, it should be up to users to fix their apps.

In response to

  • Re: 10.0 at 2016-05-13 16:24:39 from Magnus Hagander

Browse pgsql-hackers by date

  From Date Subject
Next Message Joshua D. Drake 2016-05-13 16:35:40 Re: Lets (not) break all the things. Was: [pgsql-advocacy] 9.6 -> 10.0
Previous Message Tom Lane 2016-05-13 16:30:47 Re: 10.0