This timeout happens because tsearch2 interprets '-de' as !'de' (meaning any person/team whose name/email doesn't contain the string 'de' will match). That's why it takes so long and times out -- there are nearly 2 billion people/teams which match that query for '-de'.
It may be possible to escape that '-' so that it's not interpreted as '!', but I don't know how. Any ideas, Stuart?
This timeout happens because tsearch2 interprets '-de' as !'de' (meaning any person/team whose name/email doesn't contain the string 'de' will match). That's why it takes so long and times out -- there are nearly 2 billion people/teams which match that query for '-de'.
It may be possible to escape that '-' so that it's not interpreted as '!', but I don't know how. Any ideas, Stuart?