Add "sslmode" setting for PostgreSQL connection
The commit 586bffa1d7
added support for sslmode in PostgresConnector.php and sslmode has been around since postgres version 9.1 (2011).
This change makes it possible to specify sslmode from the config file.
Also serves as documentation to other developers so they don't have to
dive deep into the code to figure out that it's posible to set this option.
The posible values for sslmode are:
disable, allow, prefer, require, verify-ca, verify-full
The default value is "prefer".
http://www.postgresql.org/docs/9.5/static/libpq-ssl.html#LIBPQ-SSL-PROTECTION
This commit is contained in:
parent
6f4c333678
commit
8fc0df14bb
|
@ -76,6 +76,7 @@
|
|||
'charset' => 'utf8',
|
||||
'prefix' => '',
|
||||
'schema' => 'public',
|
||||
'sslmode' => 'prefer',
|
||||
],
|
||||
|
||||
],
|
||||
|
|
Loading…
Reference in New Issue