Commit 8e65cdc7 authored by Steve Müller's avatar Steve Müller

Merge pull request #823 from rocksfrow/master

fix client_encoding setting to support pgbouncer
parents 3b901cd3 670f4669
......@@ -83,7 +83,7 @@ class Driver extends AbstractPostgreSQLDriver
}
if (isset($params['charset'])) {
$dsn .= "options='--client_encoding=" . $params['charset'] . "'";
$dsn .= 'client_encoding=' . $params['charset'] . ' ';
}
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