Updated node, npm and node-postgres version.
If I understood node-postgres documentation right, this is the correct way to connect to DB.