Re: [PATCHES] [GENERAL] backend crashing despite tsearch2 patch

2003-09-17 Thread Nigel J. Andrews
On Wed, 17 Sep 2003 [EMAIL PROTECTED] wrote: On Wed, 17 Sep 2003 [EMAIL PROTECTED] wrote: I have applied the recent tsearch2 patch and recompiled the tsearch2 module but I am still experiencing the same backend crashes as I previously described. I didn't think your problem

Re: [PATCHES] [GENERAL] backend crashing despite tsearch2 patch

2003-09-17 Thread Nigel J. Andrews
This replaces the previous patch in this thread. On Wed, 17 Sep 2003, Nigel J. Andrews wrote: On Wed, 17 Sep 2003 [EMAIL PROTECTED] wrote: On Wed, 17 Sep 2003 [EMAIL PROTECTED] wrote: #0 SN_create_env (S_size=0, I_size=2, B_size=1) at api.c:6 6 z-p = create_s();

Re: [PATCHES] [GENERAL] backend crashing despite tsearch2 patch

2003-09-17 Thread Nigel J. Andrews
On Wed, 17 Sep 2003, Nigel J. Andrews wrote: Also, I've not tested the amended code since I don't know that much about the configuration of tsearch2 and specifically what this snowball stuff is. However, it builds for me and a test query didn't break. I'd appreciate if someone could give the

Re: [PATCHES] [GENERAL] backend crashing despite tsearch2 patch

2003-09-17 Thread Tom Lane
Nigel J. Andrews [EMAIL PROTECTED] writes: On a matter of style, it's been a while since I've seriously considered cross platform C. Is it the done thing to expect: int *i = (int *)calloc(1,sizeof(int)); to give the condition *i == 0 (assuming the memory allocation worked)? calloc is defined