fix not exists attribute _get_pg_version in DatabaseWrapper for django 1.3