Re: 10.0

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Greg Sabino Mullane" <greg@turnstep.com>
Cc: pgsql-hackers@postgresql.org
Date: 2016-05-15T02:59:55Z
Lists: pgsql-hackers
"Greg Sabino Mullane" <greg@turnstep.com> writes:
> I think moving to a two-number format is a mistake: what exactly will 
> PQserverVersion() return in that case?

For, say, 10.2 it would be 100002, equivalent to 10.0.2 under old style.

We could redefine it as being major plus four-digit minor, really.
Under the current maintenance scheme we never get anywhere near minor
release 99 before a branch dies ... but having some more breathing room
there would not be a bad thing.

			regards, tom lane