Commit ea68d56
Fix case sensitivity for PostgreSQL and Oracle identifier quoting
PostgreSQL folds unquoted identifiers to lowercase, so double-quoted
identifiers must also be lowercase to match. Oracle folds unquoted
identifiers to uppercase, so double-quoted identifiers must be
uppercase.
Without this fix, quoting mixed-case table/column names causes
"relation not found" errors because the quoted name doesn't match
the case stored in the database.
Co-Authored-By: Claude Opus 4.6 <[email protected]>1 parent b37cb4c commit ea68d56
File tree
2 files changed
+6
-2
lines changed- core/src/wheels/databaseAdapters
- Oracle
- PostgreSQL
2 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | | - | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
152 | 154 | | |
153 | 155 | | |
154 | 156 | | |
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
182 | 182 | | |
183 | 183 | | |
184 | 184 | | |
185 | | - | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
186 | 188 | | |
187 | 189 | | |
188 | 190 | | |
0 commit comments