kamushkin

Results comments of kamushkin

+1 ``` events.js:72 throw er; // Unhandled 'error' event ^ Error: read ECONNRESET at errnoException (net.js:901:11) at TCP.onread (net.js:556:19) ``` happens when calling pg.connect with either user, password or db...

Looks like the right test (user/password) is commented out (?) - https://github.com/brianc/node-postgres/blob/master/test/integration/client/error-handling-tests.js#L148 The one you refer to is about invalid host (means no response instead of refusing connection) - https://github.com/brianc/node-postgres/blob/master/test/integration/client/error-handling-tests.js#L136...

To reproduce the issue the host:port combination should be correct, i.e. you should actually have postgres running on localhost:5432 for the code above. It does not happen when the hostname...