Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

janpio
Copy link
Contributor

@janpio janpio commented Feb 27, 2020

Possibly closes #6

(Sorry about the linebreak thing at the end of the file, GH UI doesn't let me not have one when I edit files there.)

@faisaltheparttimecoder
Copy link
Owner

@janpio will it be possible to merge this fix on your branch (janpio#1), once done I will have this pull request squashed onto master branch for a new release

* Fix for uppercase colum

+ Uppercase columns are being converted to lowercase and hence error'ng out. this is fixed
+ Bump the version of the mock-data tool

* version bump
@faisaltheparttimecoder faisaltheparttimecoder merged commit ac6053a into faisaltheparttimecoder:master Feb 27, 2020
@janpio
Copy link
Contributor Author

janpio commented Feb 27, 2020

Done.

Still a bit confused how the problem I tried to solve is solved via the change you added, but - if it works it works 🤷‍♀

@faisaltheparttimecoder
Copy link
Owner

The issue is the columns case sensitivity is kept till it reached the copy statement, during the execution postgres replaces the uppercase with lower case, so added double quotes at copy statement for column to keep the case sensitivity.

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.

This won't work if the table name has uppercase characters
2 participants