sfackler / rust-postgres

Native PostgreSQL driver for the Rust programming language
Apache License 2.0
3.46k stars 439 forks source link

Add `ReadOnly` in `TargetSessionAttrs` #1110

Closed chandr-andr closed 7 months ago

chandr-andr commented 7 months ago

Hi! I've found that there is no option to set read-only in target-session-attrs for connection to PostgreSQL.
Please, take a look at this pull request.

sfackler commented 7 months ago

Thanks!