achristmascarl / rainfrog

🐸 a database management tui for postgres
https://crates.io/crates/rainfrog
MIT License
2.87k stars 57 forks source link

PGLite support #119

Open ansarizafar opened 1 month ago

ansarizafar commented 1 month ago

Is there any plan to add support for PGLite https://pglite.dev/

achristmascarl commented 1 month ago

not at the moment, but if it's feasible using sqlx then i would consider it.

at a glance, it looks like PGlite is meant to run as part of a JS/TS application which has an exclusive connection to it, with optional persistence; seems like there's a way to serve it via TCP using pg-gateway, in which case you should be able to connect to it the same way as to postgres? https://github.com/supabase-community/pg-gateway?tab=readme-ov-file#pglite