Michael Payne
Michael Payne
Unfortunately PostgreSQL does not support dates early than 4713 BCE ([see manual](http://www.postgresql.org/docs/9.2/static/datatype-datetime.html)). However I did fix pg's y10k issue with pull request #480 so you can record your pet dinosaur's...
Are you handling the 'error' event? I was unable to reproduce your issue with an error handler, but I got the same result as you when I removed the handler....
Does this help? I'm doing something similar in my current project. ``` var pg = require('pg'); var async = require('async'); pg.connect('postgresql://user:pass@localhost:5432/test', function (err, client, done) { var queue = [];...
Yes it will work the same with parallel, though obviously your queries may not complete in the order you specify. Make sure that you commit or rollback your transaction before...
I would try writing both result sets to a csv file or something in the same order and then do a diff to see what is missing.
@brianc has a module without the native bindings, check out [node-postgres-pure](https://github.com/brianc/node-postgres-pure) if you're interested.
The problem is that pg is reading the $1 as part of the literal string instead of a placeholder because it is wrapped in quotes. It will work if you...
You're welcome :smile:
You are ending the client before the query returns. The call to `client.query` is non-blocking, so it will not necessarily finish before the next line is executed. Try moving the...
I don't think you need to (or can?) escape identifiers, but rather just need to make sure it is a valid identifier and throw an error if not. From the...