2
0

Expose underlying pgconn GetSSLPassword support to pgx

pgconn supports a GetSSLPassword function but the pgx connection
functions did not expose a means of using it.

See PR #1233 for more context.
This commit is contained in:
Jack Christensen
2022-11-03 20:09:52 -05:00
parent d8c04249d1
commit 6f90866f58
2 changed files with 38 additions and 17 deletions
+1 -1
View File
@@ -64,7 +64,7 @@ type Config struct {
createdByParseConfig bool // Used to enforce created by ParseConfig rule.
}
// ParseConfigOptions contains options that control how a config is built such as getsslpassword.
// ParseConfigOptions contains options that control how a config is built such as GetSSLPassword.
type ParseConfigOptions struct {
// GetSSLPassword gets the password to decrypt a SSL client certificate. This is analogous to the the libpq function
// PQsetSSLKeyPassHook_OpenSSL.