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

Add support for importing as jsonb #18

Merged
merged 3 commits into from
Jun 2, 2016

Conversation

mattmacleod
Copy link
Contributor

As requested in #17, we happened to also need this feature – so I've added support.

This adds a new --jsonb flag, which uses the Postgres 9.4 jsonb type when creating new tables instead of the json type. The json type remains the default, and the flag is ignored for CSV
imports.

This change adds a new `--jsonb` flag, which uses the Postgres 9.4
`jsonb` type when creating new tables instead of the `json` type.

The `json` type remains the default, and the flag is ignored for CSV
imports.
@MikeSchroll
Copy link

Is there anything blocking this from being merged?

@lukasmartinelli lukasmartinelli merged commit a0c2f9c into lukasmartinelli:master Jun 2, 2016
@lukasmartinelli
Copy link
Owner

Thanks for this useful addition.
Got lost in all the GitHub notifications.

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

Successfully merging this pull request may close these issues.

3 participants