pgwire icon indicating copy to clipboard operation
pgwire copied to clipboard

An example for using pgwire as proxy

Open sunng87 opened this issue 2 years ago • 1 comments

This example is going to demonstrate how to use pgwire + tokio_postgres as a proxy of postgresql. I just implemented simple_query subprotocol for referencing. For a complete proxy solution, we will need to add some client side support for pgwire to drop tokio_postgres in proxy scenario.

sunng87 avatar Dec 10 '23 12:12 sunng87

@sunng87 i wanted to create a small Rust proxy that will allow me to safely expose the Postgres database.how can i do this using this library

kernel-loophole avatar Oct 14 '24 05:10 kernel-loophole