Skip to content

Connection pointer is Null #61

@tjr1351

Description

@tjr1351

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions