Re: [HACKERS] regexp_split_to_array hangs backend

2007-08-10 Thread Tom Lane
"Pavel Stehule" <[EMAIL PROTECTED]> writes: > I found small bug > regexp_split_to_array('123456','1'); > regexp_split_to_array('123456','6'); > regexp_split_to_array('123456','.'); > these parameters hangs backend. This code's got more problems than that :-( The one that's bothering me right no

[HACKERS] regexp_split_to_array hangs backend

2007-08-10 Thread Pavel Stehule
Hello, I found small bug regexp_split_to_array('123456','1'); regexp_split_to_array('123456','6'); regexp_split_to_array('123456','.'); these parameters hangs backend. following patch correct it Regards Pavel Stehule ./regexp.c *** ./regexp.c.orig 2007-08-10 14:17:15.0 +0200 --- .