I have tested with local-enabled environment and found a bug. Included
is the new version of patches.
Your patch causes crash on tsearch2's installcheck with 'initdb -E UTF8 --locale C', simple way to reproduce:
# select to_tsquery('default', '''New York''');
server closed the connection unexpectedly
        This probably means the server terminated abnormally
        before or while processing the request.
The connection to the server was lost. Attempting reset: Failed.

! static int p_isalnum(TParser *prs) {
!               if (lc_ctype_is_c())
!               {
!                       if (c > 0x7f)
!                               return 1;

I have some some doubts that any character greater than 0x7f is an alpha symbol. Is it simple assumption or workaround?

Teodor Sigaev                                   E-mail: [EMAIL PROTECTED]
                                                   WWW: http://www.sigaev.ru/

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to