On Thu, May 30, 2013 at 11:47 PM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
> On Wed, May 29, 2013 at 10:51 PM, Amit Langote <amitlangote09(at)gmail(dot)com> wrote:
>> So, it appears, for search strings consisting of 2 (or < 3)
>> characters, trigrams can not be utilized. No?
>
> I think that's right. "trigram" means a sequence of three characters,
> and what's stored in the indexes are three-character sequences from
> the original text.
>
Was there any improvement to pg_trgm in recent past that could make it
better for partial matching (the case in question I suppose) or is
partial-matching a different thing altogether?
--
Amit Langote