My way of dealing with Postgresql 9.2+ in node.js