Skip to content

Add ADBC example#375

Open
snowch wants to merge 1 commit intosunng87:masterfrom
snowch:claude/adbc-example
Open

Add ADBC example#375
snowch wants to merge 1 commit intosunng87:masterfrom
snowch:claude/adbc-example

Conversation

@snowch
Copy link

@snowch snowch commented Jan 5, 2026

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
Copy link
Author

snowch commented Jan 5, 2026

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

@sunng87
Copy link
Owner

sunng87 commented Jan 10, 2026

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.

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

Successfully merging this pull request may close these issues.

ADBC example

2 participants