Skip to content

postgres: Allow for lowercasing quoted fields#360

Merged
nelsam merged 2 commits intogo-gorp:masterfrom
aclindsa:master
Dec 15, 2017
Merged

postgres: Allow for lowercasing quoted fields#360
nelsam merged 2 commits intogo-gorp:masterfrom
aclindsa:master

Conversation

@aclindsa
Copy link
Copy Markdown
Contributor

This allows for conditionally reverting the behavior changed
418d928 at runtime, while maintaining
the current behavior by default.

This allows for conditionally reverting the behavior changed
418d928 at runtime, while maintaining
the current behavior by default.
@nelsam
Copy link
Copy Markdown
Member

nelsam commented Nov 21, 2017

Can we get a test that would fail without this feature?

@aclindsa
Copy link
Copy Markdown
Contributor Author

@nelsam Sure! I went ahead and added unit tests for most of the Postgres dialect to this PR while I was at it. In particular, check out the section starting at 4735379#diff-789f76b9887a0368e5cd3200b57cb6a1R129 for the tests covering this new lowercase field behavior.

I'm a little bit confused at the moment because the tests on travis seem to be inconsistently failing, but I can't get them to fail when running locally.

@nelsam
Copy link
Copy Markdown
Member

nelsam commented Dec 15, 2017

LGTM. Thanks!

@nelsam nelsam merged commit c5fd513 into go-gorp:master Dec 15, 2017
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