]> 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:25:03 +0000 (13:25 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Aug 2012 17:25:03 +0000 (13:25 -0400)
commit874d97c2a8211cf7daaa70ee531037e69a18f4ba
treef813b3b0c9d3f03757f68d0cd96f7bb7f69677e5
parent7665e82b6a6008d2df5fa67ab80d981de8b9c738
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