Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with pg-copy-streams #699

Closed
kesavkolla opened this issue Dec 11, 2014 · 0 comments
Closed

Error with pg-copy-streams #699

kesavkolla opened this issue Dec 11, 2014 · 0 comments

Comments

@kesavkolla
Copy link
Contributor

pg-copy-streams is failing to create query object.

var stream = con.query(copyTo('COPY my_table TO STDOUT'));

The code fails with following error:

query._result._getTypeParser = this._types.getTypeParser.bind(this._types)
^
TypeError: Cannot set property '_getTypeParser' of undefined

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants