FTI queries die if ! in or at the end of a word

Bug #39828 reported by Stuart Bishop
4
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
High
Stuart Bishop

Bug Description

The _ftq() query parser fails to generate a valid query if a word contains a ! character or ends with a ! character:

launchpad_dev=# select _ftq('sb!live');
  _ftq
---------
 sb!live
(1 row)

launchpad_dev=# select _ftq('sb! live');
   _ftq
----------
 sb! live
(1 row)

Stuart Bishop (stub)
Changed in launchpad:
status: Unconfirmed → Confirmed
Stuart Bishop (stub)
description: updated
Stuart Bishop (stub)
Changed in launchpad:
status: Confirmed → In Progress
Stuart Bishop (stub)
Changed in launchpad:
status: In Progress → Fix Committed
Stuart Bishop (stub)
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.