]> granicus.if.org Git - postgresql/commit
Fix bugs in contrib/pg_trgm's LIKE pattern analysis code.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Aug 2012 17:24:58 +0000 (13:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Aug 2012 17:24:58 +0000 (13:24 -0400)
commite0badf67e9cd409ea35f2c2d5e3ca36ffecb47d7
tree98e16ba2f65c60b349289d02f6f4e91e6625c2c3
parent33f40976a716287ecddfb01f446797d8df215125
Fix bugs in contrib/pg_trgm's LIKE pattern analysis code.

Extraction of trigrams did not process LIKE escape sequences properly,
leading to possible misidentification of trigrams near escapes, resulting
in incorrect index search results.

Fujii Masao
contrib/pg_trgm/expected/pg_trgm.out
contrib/pg_trgm/sql/pg_trgm.sql
contrib/pg_trgm/trgm_op.c