fulltext parser strange behave

From: "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>
To: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Cc: "Oleg Bartunov" <oleg(at)sai(dot)msu(dot)su>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Subject: fulltext parser strange behave
Date: 2007-11-06 22:13:13
Message-ID: 162867790711061413lf58dd58sd2047dca98dcf804@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Hello

I am writing tsearch2 wrapper and I testing functionality. I found
some little bit strange on default parser. It can't parse tags with
numbers:

test=# select * from parse('<h1>zluty kun se napil <b>zlute</b> vody</h2>');
tokid | token
-------+-------
12 | <
3 | h1
12 | >
1 | zluty
12 |
1 | kun
12 |
1 | se
12 |
1 | napil
12 |
13 | <b>
1 | zlute
13 | </b>
12 |
1 | vody
12 | < <=====
19 | /h2
12 | > <=====
(19 rows)

It is correct?

Regards
Pavel Stehule

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Hodges 2007-11-06 22:16:43 Re: Test lab
Previous Message Gregory Stark 2007-11-06 20:51:59 Re: Weird type selection choice

Browse pgsql-patches by date

  From Date Subject
Next Message Alvaro Herrera 2007-11-06 23:49:06 Re: Fix pg_dump dependency on postgres.h
Previous Message Zdenek Kotala 2007-11-06 17:43:30 Re: Fix pg_dump dependency on postgres.h