Search Postgresql Archives

FTS is taking "<!--" as a xml comment.

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

 



I found that FTS is taking "<!--"  as a xml comment.
select to_tsvector('english', '<!--[if gte mso 9]>RMAN is not a DBA<![endif]-->') as c;
 c 
---
 
(1 row)


 select * from ts_debug('english', '<!--[if gte mso 9]>RMAN is not a DBA<![endif]-->') as c ;
 alias | description | token | dictionaries | dictionary | lexemes 
-------+-------------+--------------------------------------------------+--------------+------------+---------
 tag | XML tag | <!--[if gte mso 9]>RMAN is not a DBA<![endif]--> | {} | | 
I need to parse the statement "RMAN is not a DBA".
How can I do this?
Anye 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