def skipUnlessPG94(test):
    try:
        PG_VERSION = connection.pg_version
    except __HOLE__:
        PG_VERSION = 0
    if PG_VERSION < 90400:
        return unittest.skip('PostgreSQL >= 9.4 required')(test)
    return test
dataset/ETHPy150Open django/django/tests/postgres_tests/test_json.py/skipUnlessPG94