Encountered with node.js v0.10.25:
If a column has an UNIQUE constraint with the ON CONFLICT ABORT rule, an attempt to insert a non-unique value is correctly answered by an error:
"Error: near line 1: column email is not unique"
However, db is fucked up afterwards, and no callbacks will ever be called by db.query again, tearing down all db-dependent querys to node.js. I will investigate this further.