Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use AG with psycopg2? #2

Open
vnnw opened this issue Nov 7, 2017 · 1 comment
Open

Cannot use AG with psycopg2? #2

vnnw opened this issue Nov 7, 2017 · 1 comment

Comments

@vnnw
Copy link

vnnw commented Nov 7, 2017

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?

@shayneoneill
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants