byronwasti / movine

A migration manager written in Rust that attempts to be smart yet minimal
MIT License
109 stars 9 forks source link

Postgres option sslcert is really sslrootcert #25

Closed couchand closed 1 year ago

couchand commented 1 year ago

This implements the first of the two suggestions from #23.

The existing certificate option is used to specify a file containing a root CA cert to use when validating the database server's certificate. The option that libpq uses for this is sslrootcert, so this PR changes the name here to be consistent with that usage.

https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNECT-SSLROOTCERT

couchand commented 1 year ago

The build here seems to be failing due to out-of-date dependencies, so I'd suggest rebasing this on top of #24.