From d4dc76077b9dcf0e13a5e4228a4c9918c78bd4ea Mon Sep 17 00:00:00 2001 From: swilly Date: Tue, 5 Mar 2013 15:44:20 -0500 Subject: [PATCH] possible fix for: error: unrecognized configuration parameter 'lient_encoding' --- lib/connection.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/connection.js b/lib/connection.js index ffd7d9c..dfae389 100644 --- a/lib/connection.js +++ b/lib/connection.js @@ -116,8 +116,8 @@ p.startup = function(config) { .addCString(config.user) .addCString('database') .addCString(config.database) - .addCString('options') - .addCString("--client_encoding='utf-8'") + .addCString('client_encoding') + .addCString("'utf-8'") .addCString('').flush(); //this message is sent without a code