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

Поиск
Список
Период
Сортировка
Искать

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

От:
AI Rumman <rummandba@gmail.com>
Дата:
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.
FAQ