Search Postgresql Archives

Full text t_tsquery is giving error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I am getting the following results:

select * from ts_debug('Rumman (AI)');

   alias   |   description   | token  |    dictionaries    |  dictionary  | lexemes 
-----------+-----------------+--------+--------------------+--------------+----------
 asciiword | Word, all ASCII | Rumman | {syn,english_stem} | english_stem | {rumman}
 blank     | Space symbols   |  (     | {}                 |              |
 asciiword | Word, all ASCII | AI     | {syn,english_stem} | english_stem | {ai}
 blank     | Space symbols   | )      | {}                 |              |
(4 rows)

But,

select to_tsquery('Rumman (AI)');

ERROR:  syntax error in tsquery: "Rumman (AI)"

I don't know why this is happening.
Any idea please.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux