Re: Open 8.3 issues - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: Open 8.3 issues
Date
Msg-id 47491412.4090802@dunslane.net
Whole thread Raw
In response to Re: Open 8.3 issues  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

Tom Lane wrote:
> I wrote:
>   
>> Re: [HACKERS] Heads up: 8.3beta3 to be wrapped this evening, andrew
>> This too.
>>     
>
> Uh, no, actually it isn't.  I thought we were going to make cases
> like "<h1>" be treated as XML tags, but CVS HEAD fails to do that:
>
> regression=# select * from ts_debug('<h1>foo</h1>');
>    alias   |       description        | token |  dictionaries  |  dictionary  | lexemes 
> -----------+--------------------------+-------+----------------+--------------+---------
>  blank     | Space symbols            | <     | {}             |              | 
>  numword   | Word, letters and digits | h1    | {simple}       | simple       | {h1}
>  blank     | Space symbols            | >     | {}             |              | 
>  asciiword | Word, all ASCII          | foo   | {english_stem} | english_stem | {foo}
>  blank     | Space symbols            | <     | {}             |              | 
>  file      | File or path name        | /h1   | {simple}       | simple       | {/h1}
>  blank     | Space symbols            | >     | {}             |              | 
> (7 rows)
>
> What exactly *was* changed by this patch?
>
> 2007-11-19 21:25  adunstan
>
>     * doc/src/sgml/textsearch.sgml, src/backend/tsearch/wparser_def.c,
>     src/test/regress/expected/tsearch.out: Change descriptions of
>     entity and tag objects to "XML entity" and "XML tag".  Allow tag
>     and entity names that follow XML rules. Provide for hexadecimal as
>     well as decimal numeric entities. Adjust code names to coincide
>     with new descriptions.
>
>   


Oops. I will fix this in the morning when my brain is functioning. I see 
what I did. I changed the rules for entity names but somehow missed 
doing the same for tag names.

cheers

andrew


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Open 8.3 issues
Next
From: Greg Smith
Date:
Subject: Re: 8.3devel slower than 8.2 under read-only load