Skip to content

Refactor string escaping & add with/without timezone option #9

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

Merged
merged 14 commits into from
Feb 11, 2012

Conversation

jcoleman
Copy link

Use Ruby's built in String escaping to handle more cases. Explicitly handing the special \N and . COPY command sequences. Strip null characters from the string (and issue a warning) since PostgreSQL's TEXT types don't allow those in any encoding.

Also add option to generate timestamp/time columns DDL with or without time zones (since MySQL doesn't support that distinction, but PostgreSQL does.)

tardate added a commit that referenced this pull request Feb 11, 2012
Refactor string escaping & add with/without timezone option
@tardate tardate merged commit 136ad18 into tardate:master Feb 11, 2012
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.

2 participants