fix for newer version of node-postgres