def get_version(cursor):
    cursor.execute("SELECT version()")
    return _parse_version(cursor.fetchone()[0])
Tests if an object has scalar data.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/db/backends/postgresql/version.py/get_version--crossover with--dataset/ETHPy150Open enthought/mayavi/mayavi/tools/tools.py/_has_scalar_data