PostgresQL Row and case sensitivity #3610
Unanswered
ronnybremer
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While migrating an existing SqlX app from MySQL to PostgresQL I noticed, that PostgresSQL converts all column names to lowercase, if not enclosed in quotes during table creation. This behavior leads to a major change throughout the code, as it requires all row retrieval sections to be adopted. For example:
Needs to become:
Wouldn't it make sense to do a case-insensitive lookup inside of Postgres/row.rs (fn index()) by default?
Thank you for your feedback.
Beta Was this translation helpful? Give feedback.
All reactions