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

postgres bigint should be parsed to int (not string) #220

Open
tomvantilburg opened this issue Dec 2, 2016 · 1 comment
Open

postgres bigint should be parsed to int (not string) #220

tomvantilburg opened this issue Dec 2, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@tomvantilburg
Copy link
Member

Turns out that the postgres connection gives back 'strings' for 'bigint' types in the table. This causes a problem for fields like 'created' and 'updated'.
Proposed solution: do a parseInt() for the bigints in the inflate method at cow2.record.js

@tomvantilburg tomvantilburg added this to the Release 2.2.6 milestone Dec 2, 2016
@tomvantilburg tomvantilburg self-assigned this Dec 2, 2016
@tomvantilburg
Copy link
Member Author

Keep this one in mind: brianc/node-postgres#353

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

No branches or pull requests

1 participant