Commit eba0997
fix: double-parentheses for boolean cast in index suggestions
PostgreSQL requires double parentheses around cast expressions in
CREATE INDEX: `((expr)::boolean)` not `(expr)::boolean`.
The generated DDL failed with:
syntax error at or near "::"
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent b6ee968 commit eba0997
2 files changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments