dbTalk Databases Forums  

[BUGS] BUG #2527: Contrib - tsearch2 - ' as first char for in to_tsquery()

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] BUG #2527: Contrib - tsearch2 - ' as first char for in to_tsquery() in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
AT
 
Posts: n/a

Default [BUGS] BUG #2527: Contrib - tsearch2 - ' as first char for in to_tsquery() - 07-13-2006 , 02:08 AM







The following bug has been logged online:

Bug reference: 2527
Logged by: Lance Rushing
Email address: lance_rushing (AT) hotmail (DOT) com
PostgreSQL version: 8.1.1
Operating system: SuSE
Description: Contrib - tsearch2 - ' as first char for in to_tsquery()
Details:

Not sure if this is a best place to report, but..

When using to_tsquery(TEXT,TEXT) I enounter an error when the first
character is an apostrophe.

non-error example:
select to_tsquery('default'::text, 'o\'brien'::text);
to_tsquery
---------------
'o' & 'brien'

Example of error:
select to_tsquery('default'::text, '\'brien'::text);
ERROR: syntax error

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to majordomo (AT) postgresql (DOT) org so that your
message can get through to the mailing list cleanly

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.