Re: [GENERAL] Backward compatibility - Mailing list pgsql-general

From John R Pierce
Subject Re: [GENERAL] Backward compatibility
Date
Msg-id c31fca4c-2901-249d-c9a7-27cdcd360e15@hogranch.com
Whole thread Raw
In response to Re: [GENERAL] Backward compatibility  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: [GENERAL] Backward compatibility  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general
On 7/20/2017 8:40 PM, Tom Lane wrote:
    Applications might use this function to determine the version of the   database server they are connected to. The number is formed by   converting the major, minor, and revision numbers into   two-decimal-digit numbers and appending them together. For example,   version 8.1.5 will be returned as 80105, and version 8.2 will be   returned as 80200 (leading zeroes are not shown). Zero is returned   if the connection is bad.
Hm, we need to update that text for the new 2-part version numbering
scheme, don't we?


will 10 return like 100100 if its 10.1, or 100001 ?


-- 
john r pierce, recycling bits in santa cruz

pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: [GENERAL] Backward compatibility
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Backward compatibility