brianc/node-postgres — Issue #61: Connection pointer is Null
Author: tjr1351
Created: 2011-10-27 19:31:55+00:00
State: open

Found an error when nesting a query call inside of a child_process callback inside of another query callback.
Traceback: http://paste2.org/p/1742168
Code to generate bug: http://jsfiddle.net/ZhabH/ (you need to create a postgres table 'example' with columns "test" and "test_id" where test_id is an automatically updating integer. You may also need to update conString

A similar error is generated without the native flag : http://paste2.org/p/1742186

Software versions:
Postgresql: 8.4.9
node: 0.4.12
node-postgres: 0.6.3
express: 2.5.0

I think that's all the information one would need to know to replicate. Let me know if more info is needed.