methods in a short-lived memory context, there is no need for GiST methods to do their own manual (and error-prone) memory management.
-------------------------------------- The pg_trgm contrib module provides functions and index classes for determining the similarity of text based on trigram matching.