| From: | AI Rumman <rummandba(at)gmail(dot)com> |
|---|---|
| To: | pgsql-general General <pgsql-general(at)postgresql(dot)org> |
| Subject: | FTS is taking "<!--" as a xml comment. |
| Date: | 2010-11-24 10:38:48 |
| Message-ID: | AANLkTikLu+6SRFxudoGh=NvCWL0_9cgNAVr7y8BwbGQF@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
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.
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Dmitriy Igrishin | 2010-11-24 10:45:23 | Re: alter table add column - specify where the column will go? |
| Previous Message | Peter Bex | 2010-11-24 10:32:44 | Re: alter table add column - specify where the column will go? |