BUG #4446: Full text search cannot start with an apostrophe

From: "Ryan Wallace" <rywall(at)interchange(dot)ubc(dot)ca>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #4446: Full text search cannot start with an apostrophe
Date: 2008-09-30 22:50:40
Message-ID: 200809302250.m8UMoe4P094551@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 4446
Logged by: Ryan Wallace
Email address: rywall(at)interchange(dot)ubc(dot)ca
PostgreSQL version: 8.3.4
Operating system: Windows XP SP2
Description: Full text search cannot start with an apostrophe
Details:

A tsquery cannot be created if the first character is an apostrophe:

eg.
SELECT * FROM text_search_vectors WHERE
text_search_vector @@ to_tsquery('''ksan&panel')

Error Generated:
ERROR: syntax error in tsquery: "'ksan&panel"
SQL state: 42601

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2008-10-01 13:08:31 Re: BUG #4446: Full text search cannot start with an apostrophe
Previous Message Heikki Linnakangas 2008-09-30 17:54:01 Re: BUG #4444: Wrong formated pdf manual