Skip site navigation (1) Skip section navigation (2)

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

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 (view raw or flat)
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.

pgsql-general by date

Next:From: Dmitriy IgrishinDate: 2010-11-24 10:45:23
Subject: Re: alter table add column - specify where the column will go?
Previous:From: Peter BexDate: 2010-11-24 10:32:44
Subject: Re: alter table add column - specify where the column will go?

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group