pgwire
pgwire copied to clipboard
An example for using pgwire as proxy
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 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