pgwire
pgwire copied to clipboard
Add ADBC example
This adds an example showing how to run a PostgreSQL-compatible server using pgwire backed by any ADBC-compatible database. Fixes #227
Architecture PostgreSQL Client (psql) → pgwire Server → ADBC API (driver manager) → ADBC Driver → Database (SQLite / DuckDB / Postgres / …)
@sunng87 I removed the duckdb dependencies so the example can run against using any adbc driver.
hi @snowch , thank you for this example. I would recommend you to create a separated repository to host this. And for arrow data to postgresql mapping, we have an arrow-pg library.