bikeshedder / deadpool

Dead simple pool implementation for rust with async-await
Apache License 2.0
1.08k stars 137 forks source link

PostgreSQL: better documentation for statement caching #362

Open jaskij opened 2 weeks ago

jaskij commented 2 weeks ago

As is, the only explanation for how deadpool_postgres handles caching prepared statements I'm aware of is the discussion in #75 . Between that and looking at the source, I understand the behavior and it's fine, but:

Better documentation - especially the information about ClientWrapper handling the caching internally - would making getting started with deadpool_postgress that much easier.

bikeshedder commented 2 weeks ago

A PR to add this documentation would be highly appreciated! :heart: