Only return major version number. Don't fail as long as the pg version starts with "<major version>."