Commit 670f4669 authored by rocksfrow's avatar rocksfrow

fix client_encoding setting to support pgbouncer

parent 3b901cd3
...@@ -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