-
-
Notifications
You must be signed in to change notification settings - Fork 541
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
Cannot load into case sensitive tables #476
Comments
You should be able to quote the table name to enforce its spelling, so please try the following:
|
Seems it needed the "quote identifier" option to be available, which is now possible. Please try with it, as shown in the merged patch test case that has been updated to benefit from the feature. |
Thanks for quick fix. I tried last version, but it unfortunately not working: my configuration:
and it throws error
And other problem is, that in bigger projects you are working also with schemes (or just not working in public scheme), so it should work like |
You need to add the WITH option See the provided example at 526fafb#diff-1e709cdccf39fc2f633922224fac6688 |
Hello Dimitri. I have a table named 'TABLE' in the schema 'schema'. The table has only one row named 'ATT1'. My configuration file looks like this :
This doesn't work and returns the following error : But if I replace the above 'connection string' by : So it seems that adding the schema name as a prefix to the table name breaks the 'quote identifiers' feature. I tried simple and double quotes, quoting the schema, etc. I could never get it to work. Am I missing something? Sorry if this is not clear, english is not my primary language... Thanks, |
See #476 where it would have been helpful to see the PostgreSQL catalog queries with `--log-min-messages sql` in the bug report. Also more generally useful.
Avoid double quoting the schema names when used in PostgreSQL catalog queries, where the identifiers are used as literal values and need to be single-quoted. Fix #476, again.
It should be good now, please build and test again. |
Hello Dimitri, I can confirm that it now works for my use case. Thanks a lot ! |
Trying to load using configuration file like...
It doesn't work with case-sensitivity.
RawArticles
is automatically converted torawarticles
.Loader throws
Any suggestions?
Thanks :)
The text was updated successfully, but these errors were encountered: