agensgraph-python icon indicating copy to clipboard operation
agensgraph-python copied to clipboard

Cannot use AG with psycopg2?

Open vnnw opened this issue 8 years ago • 1 comments

I tried the following code and got an InternalError error: "InternalError: current transaction is aborted, commands ignored until end of transaction block"

import psycopg2
from psycopg2.extras import Json
import agtype
conn = psycopg2.connect("dbname=ag user=ag")
cur = conn.cursor()
cur.execute("create graph p")

What should I do to manipulate AG with python?

vnnw avatar Nov 07 '17 03:11 vnnw

2 years without a reply or update to software, and it categorically does not compile on any machine I've tried

I'm gonna assume this is abandonware. Agensgraph it would seem is not for use with python.

shayneoneill avatar Jan 25 '20 16:01 shayneoneill