I\'m getting strange behaviour in node-postgres when inserting data into tables. When running this block of code, it works perfectly:
client .query(