From 3b2a738174c8a1c2d40b9e6d66ff2f984e25a344 Mon Sep 17 00:00:00 2001 From: Arnaud Benhamdine Date: Tue, 26 Jul 2016 14:53:40 +0200 Subject: [PATCH] Updated Client (markdown) --- Client.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Client.md b/Client.md index 85abb5f..ac87d5d 100644 --- a/Client.md +++ b/Client.md @@ -34,6 +34,11 @@ Internally the connection string is parsed and a _config_ object is created with var client = new Client('/tmp'); //looks for the socket file /tmp/.s.PGSQL.5432 ``` +Caution : +Url strings don't allow to pass special characters like `#` +If you have some of them in your passord, don't use a connection string, use a config object and pass +it as { host: 'foo', password: 'blah#blah' } + ### new Client(object config) : _Client_ Creates a new, unconnected instance of a Client configured via supplied configuration object.