Simplified version checking for Postgresql definition.