Skip to content
This repository was archived by the owner on Dec 20, 2023. It is now read-only.

Adding defaultPrimaryKeyType and parseInt8 options#144

Merged
aheuermann merged 2 commits into
masterfrom
bigint_changes
Mar 2, 2016
Merged

Adding defaultPrimaryKeyType and parseInt8 options#144
aheuermann merged 2 commits into
masterfrom
bigint_changes

Conversation

@aheuermann
Copy link
Copy Markdown
Contributor

defaultPrimaryKeyType will only be used if the type is not specified.

parseInt8 will parse the bigints and throw an error if not a "safe" integer. Right now this kills the process since they are not caught. I submit two PRs which I think will fix this though (brianc/node-postgres#954 and brianc/node-pg-native#41).

Both changes are opt-in so no issues with backwards compatibility. Will also back-port this and create a 0.9.7 release.

@doug-martin @dustinsmith1024

aheuermann added a commit that referenced this pull request Mar 2, 2016
Adding defaultPrimaryKeyType and parseInt8 options
@aheuermann aheuermann merged commit b221cde into master Mar 2, 2016
@aheuermann aheuermann deleted the bigint_changes branch March 2, 2016 17:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant