Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> Also, it would be nice to use B-M(-H) for LIKE as well.
Right offhand, that seems impossible, at least in patterns with %.
Or were you thinking of trying to separate out the fixed substrings
of a pattern and search for them with BMH?
Anyway, it's not material for this patch, since it'd involve pretty
fundamental redesign of the LIKE code.
regards, tom lane