import adbc_driver_postgresql.dbapi
uri = "postgresql://localhost:6543"
with adbc_driver_postgresql.dbapi.connect(uri) as conn:
cursor = conn.cursor()
cursor.execute("select 1")
print(cursor.fetchone())
cursor.close()
adbc_driver_manager.OperationalError: IO: [libpq] Failed to build type mapping table: ERROR: Error during planning: Unable to fetch table provider for 'pg_catalog.pg_type': failed to resolve: failed to find table: pg_catalog.pg_type
Description
same root cause as https://github.com/GlareDB/glaredb/issues/1450 and https://github.com/GlareDB/glaredb/issues/1445