Commit e25ccaea authored by rocksfrow's avatar rocksfrow Committed by Steve Müller

fix client_encoding setting to support pgbouncer

parent 10e6c6d4
...@@ -83,7 +83,7 @@ class Driver extends AbstractPostgreSQLDriver ...@@ -83,7 +83,7 @@ class Driver extends AbstractPostgreSQLDriver
} }
if (isset($params['charset'])) { if (isset($params['charset'])) {
$dsn .= "options='--client_encoding=" . $params['charset'] . "'"; $dsn .= 'client_encoding=' . $params['charset'] . ' ';
} }
if (isset($params['sslmode'])) { if (isset($params['sslmode'])) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment