Promises for the node-postgres connector.