Switch to psycopg2 Python API