fix: change sslmode to require for Postgres (#15642)

* change sslmode to require

* fix test
This commit is contained in:
Hugh A. Miles II
2021-07-12 15:38:07 -07:00
committed by GitHub
parent 2252f3396c
commit f39582c900
2 changed files with 2 additions and 2 deletions

View File

@@ -186,7 +186,7 @@ class PostgresEngineSpec(PostgresBaseEngineSpec, BasicParametersMixin):
"postgresql://user:password@host:port/dbname[?key=value&key=value...]"
)
# https://www.postgresql.org/docs/9.1/libpq-ssl.html#LIBQ-SSL-CERTIFICATES
encryption_parameters = {"sslmode": "verify-ca"}
encryption_parameters = {"sslmode": "require"}
max_column_name_length = 63
try_remove_schema_from_table_name = False