You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PgConnectOptions::to_url_lossy() (and build_url()) are using incorrect syntax for generating a Postgres URL
Minimal Reproduction
Compare this and this. It seems like it should be sslmode instead of ssl-mode and lowercase e.g. require instead of REQUIRED for the string conversion when building a Postgres-compatible URL.
Info
SQLx version: 0.7.4
SQLx features enabled: "postgres", "chrono", "uuid", "macros", "runtime-tokio", "runtime-tokio-rustls"
Database server and version: Postgres
Operating system: Ubuntu 22.04
rustc --version: 1.78.0
The text was updated successfully, but these errors were encountered:
Bug Description
PgConnectOptions::to_url_lossy()
(andbuild_url()
) are using incorrect syntax for generating a Postgres URLMinimal Reproduction
Compare this and this. It seems like it should be
sslmode
instead ofssl-mode
and lowercase e.g.require
instead ofREQUIRED
for the string conversion when building a Postgres-compatible URL.Info
rustc --version
: 1.78.0The text was updated successfully, but these errors were encountered: