Repository navigation
Handle string quoting and missing values in strings - #89
Merged
Merged
Conversation
Member
|
Thanks. I'm getting DBItest failures when applying this to current master, could you please double-check? Also, I was hoping that this would help with #50, but the relevant tests still fail (as you mentioned). |
Member
|
Thanks! |
krlmlr
added a commit
that referenced
this pull request
Aug 7, 2017
- Update Rcpp registration code. - `dbConnect()` now accepts arbitrary connection parameters in the `...` argument (#83, @thrasibule). - Handles NA values by converting them to NULL (#82, @thrasibule). - Handle string quoting and missing values in strings (#89, @jimhester). - `PKG_CFLAGS` and `PKG_LIBS` are now being set when using pg_config for `includedir` and `libdir` (#119, @Usman-R). - Use `BYTEA` instead of `BLOB` for PostgreSQL 9.5 support.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I ran into this when trying to use
dbWriteTable(copy = FALSE). While the column and row names were escaped, the data values were not andconnection_escape_stringdid not handle missing values.Behavior after this PR
Missing values in non-character atomic vectors are still an issue, they don't seem to be handled currently.