pgwire icon indicating copy to clipboard operation
pgwire copied to clipboard

Add ADBC example

Open snowch opened this issue 2 months ago • 2 comments

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 / …)

snowch avatar Jan 05 '26 12:01 snowch

@sunng87 I removed the duckdb dependencies so the example can run against using any adbc driver.

snowch avatar Jan 05 '26 12:01 snowch

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.

sunng87 avatar Jan 10 '26 14:01 sunng87