Add PostgresVersion.pm method to emit the major version string

Andrew Dunstan <andrew@dunslane.net>

Commit: 1e8d89f8800e0aaafc66e87e8e5fedf5dbd038cf
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2021-07-29T09:58:08Z
Releases: 15.0
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.

Files

PathChange+/−
src/test/perl/PostgresVersion.pm modified +28 −0