Oleg, Teodor, can you look at this?  I tried to fix it in wparser_def.c,
but couldn't figure out how.  Thanks.

select distinct token as email
from ts_parse('default', ' [email protected] '   )
where tokid = 4

Patch in attachment, it allows underscore in the middle of local part of email in in host name (similarly to '-' character).


I'm not sure about backpatching, because it could break existing search configuration.
--
Teodor Sigaev                                   E-mail: [email protected]
                                                   WWW: http://www.sigaev.ru/

Attachment: underscore.patch.gz
Description: Unix tar archive

-- 
Sent via pgsql-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to