Closed to266 closed 1 year ago
In tokio-postgres you can poll the connection directly: https://docs.rs/tokio-postgres/latest/tokio_postgres/struct.Connection.html#method.poll_message
Ah, nice!
I see it's a bit more elaborate to use, but I have no issue with that. For others, here's a link to tests that do exactly this
https://github.com/sfackler/rust-postgres/pull/655 does not seem to be exposed as part of the
tokio_postgres::Config
, so it's not really configurable.Would be nice to support that too :)