Skip to content

Commit b8b6e01

Browse files
authored
Merge pull request #120 from bluedynamics/fix/suggestions-covered-detection
Suggested Indexes: fix apply-loop detection + idempotency (#119)
2 parents 84268cd + 4599715 commit b8b6e01

5 files changed

Lines changed: 987 additions & 22 deletions

File tree

CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
### Fixed
66

7+
- Suggested Indexes UI: detect already-applied suggestions with
8+
mixed-case field names (e.g. `Language`) by matching index names
9+
case-insensitively — PostgreSQL folds unquoted identifiers to
10+
lowercase. Also strengthen expression normalization (whitespace
11+
around `->>`, iterative paren collapse, WHERE-anchored extraction)
12+
so generated and PG-stored `indexdef` forms compare equal.
13+
`apply_index` is now idempotent when a valid index with the same
14+
name already exists — returns success no-op instead of propagating
15+
the `DuplicateTable` error. Closes #119.
16+
717
- Tika enqueue: resolve Dexterity `NamedBlobFile` / `NamedBlobImage`
818
wrapper OIDs via a second-hop lookup through `object_state`, so the
919
queue receives jobs for modern Dexterity File/Image content.

0 commit comments

Comments
 (0)