title: SSL for PostgreSQL connection nodejs
body: <p>I am trying to connect to my Heroku PostgreSQL DB and I keep getting an SSL error. Does anyone have an idea on how to enable SSL in the connection string?</p>
  
  <pre><code>postgres://user:pass@host:port/database;
  </code></pre>
  
  <p>Been looking for it everywhere but it does not seem to be a very popular topic.
  By the way, I am running Nodejs and the node-pg module with its connection-pooled method:</p>
  
  <pre><code>pg.connect(connString, function(err, client, done) {
    // Should work.
  });
  </code></pre>
  
  <p>Comments are much appreciated.</p>