Fix crash when issuing SQL "COPY" command

This involved upgrade of node-postgresql module.
See https://github.com/brianc/node-postgres/issues/242