Be compatible with latest trunk since

_get_pg_version renamed to pg_version.