-
I'm wanting to run import adbc_driver_postgresql.dbapi as db
with db.connect('postgresql://postgres:[email protected]:5432/') as conn:
with conn.cursor() as cur:
cur.execute('SHOW TRANSACTION ISOLATION LEVEL') results in an error, the key bits of which seem to be:
It looks like it tries to the the (Context: am writing a SQLAlchemy dialect, and the SQLAlchemy existing base PostgreSQL dialect tries to run such queries) |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
There is an option indeed: https://arrow.apache.org/adbc/current/python/api/adbc_driver_postgresql.html#adbc_driver_postgresql.StatementOptions.USE_COPY I think I need to:
For future reference: the docs are being updated by #2859 |
Beta Was this translation helpful? Give feedback.
There is an option indeed: https://arrow.apache.org/adbc/current/python/api/adbc_driver_postgresql.html#adbc_driver_postgresql.StatementOptions.USE_COPY
I think I need to:
For future reference: the docs are being updated by #2859