]> 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:52 +0000 (13:24 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 20 Aug 2012 17:25:42 +0000 (13:25 -0400)
commitb2a01b9ad1c6b074df1c4bc75ca988230dfa3cf0
treeff590f12e34065f4d0409b4479fce32b57e4b1ef
parent51fed14d73ed3acd2282b531fb1396877e44e86a
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