3 ms·
You can use pg-gateway from supabase (https://github.com/supabase-community/pg-gateway https://github.com/supabase-community/pg-gateway) to start a PGlite and c
by samwillis 2y ago
You can use pg-gateway from supabase (https://github.com/supabase-community/pg-gateway https://github.com/supabase-community/pg-gateway) to start a PGlite and connect form any standard PG client.
Support for other languages is high on my list, the plan is to build a "libpglite" as a native C lib and a WASI build that can run in any WASM runtime.
- loevborg 2y agoThanks! From my perspective, being able to pull pglite into the same golang process is preferable - faster, less IPC complexity, no risk of leaving lingering state. Making postgres an in-process dependency is much of the appeal of pglite for me.