Thread: pgsql: Add PostgresVersion.pm method to emit the major version string

pgsql: Add PostgresVersion.pm method to emit the major version string

From
Andrew Dunstan
Date:
Add PostgresVersion.pm method to emit the major version string

For versions before 10, this will produce dotted notation unless a
separator argument is given, in which case it is used.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1e8d89f8800e0aaafc66e87e8e5fedf5dbd038cf

Modified Files
--------------
src/test/perl/PostgresVersion.pm | 28 ++++++++++++++++++++++++++++
1 file changed, 28 insertions(+)