only check for postgres major and minor version

fixes #192