Re: [BUGS] BUG #4697: to_tsvector hangs on input

2009-03-10 Thread Teodor Sigaev
When the parser sees the "@", it goes into "email state". In email state, it recurses, trying to find out if the string after the "@" is a valid hostname. That in turn goes into email state, recurses again and so forth, until you reach the end of the string. Then, the recursion unwinds back to

Re: [BUGS] BUG #4697: to_tsvector hangs on input

2009-03-06 Thread Heikki Linnakangas
Peter Guarino wrote: The following bug has been logged online: Bug reference: 4697 Logged by: Peter Guarino Email address: peterguar...@earthlink.net PostgreSQL version: 8.3.3 Operating system: Suse 10.x Description:to_tsvector hangs on input Details: Certain stri