You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
btree_gist is injected only for gist with '=', and UseMethod("GiST") skips it #81
btree_gist is injected only for a GiST exclusion constraint with an = element. Any scalar element under GiST needs it, whatever the operator: ex.WithColumn(x => x.RoomId, "<>").WithOverlaps(x => x.Period) gets no CREATE EXTENSION, and PostgreSQL 16 rejects the migration with data type integer has no default operator class for access method "gist". And UseMethod("GiST") skips the injection, because the method comparison is case-sensitive.
Fix
Inject for any GiST element over a type without a native GiST operator class (scalar columns), and compare the method case-insensitively. Loud. Found by the 5.5.0 pre-tag analysis.
Activity
Merge pull request #104 from CaffeinatedCoder/fix/81-btree-gist-injec…