Intente agregar varchar_pattern_ops a su índice
CREATE INDEX tablename_name_idx
ON search.tablename
USING btree
(name COLLATE pg_catalog."default" varchar_pattern_ops);
Intente agregar varchar_pattern_ops a su índice
CREATE INDEX tablename_name_idx
ON search.tablename
USING btree
(name COLLATE pg_catalog."default" varchar_pattern_ops);