[PATCHES] tsearch pfree error

2003-09-12 Thread Nigel J. Andrews
I haven't seen a notice that Bruce noticed this patch I sent across general as part of a rambling thread of mine. There again, I'm not exactly up to date with all my email so could easily have missed it. However, in light of the beta3 notice I'm sending it to the correct list now. Fixes simple bu

Re: [PATCHES] tsearch pfree error

2003-09-12 Thread Nigel J. Andrews
On Fri, 12 Sep 2003, Bruce Momjian wrote: > > I hadn't seen this --- not sure why. Probably because it was in a rambling thread consisting mostly of posts by myself. Thanks for applying it chaps. Nigel (Sheesh, all this fuss for a one character change :) ---(end of

Re: [PATCHES] tsearch pfree error

2003-09-12 Thread Nigel J. Andrews
On Fri, 12 Sep 2003, Bruce Momjian wrote: > > ... > > I might have assumed the tsearch guys had it handled now that they have > CVS access. Good point. I'd completely forgotten I was also expecting them to pick it up, principally because it needs to be applied to the version for running with a 7.

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

2003-09-17 Thread Nigel J. Andrews
see a lot more output from the backtrace. Having said that the z in the z->p = create_s() line mentioned as the place of the fault is the result of a calloc without checking for a null return from calloc. Here's a[nother simple] patch to fix that. It's not going to fix whateve

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_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 appre

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

2003-09-18 Thread Nigel J. Andrews
I'll withdraw this particular patch and resubmit later on. (Sorry for the individual reply Tom, I hit the wrong keys before noticing) Nigel On Thu, 18 Sep 2003, Nigel J. Andrews wrote: > On Thu, 18 Sep 2003, Tom Lane wrote: > > > "Nigel J. Andrews" <[EMAIL

[PATCHES] tsearch2 memory alloc checks

2003-09-23 Thread Nigel J. Andrews
or tsearch-v2-stable (i.e. for 7.3 backend) this patch probably will not apply cleanly to that source. It should be simple enough to see what's going on and apply the changes by hand if need be. -- Nigel J. Andrews Index: contrib/ts

Re: [PATCHES] tsearch2 memory alloc checks

2003-09-28 Thread Nigel J. Andrews
ecific fault generated and reported by someone. Athough that was running in a 7.3 server I believe, this addresses the same fault in the 7.4 contrib. > > ----------- > > Nigel J. Andrews wrote: > > > > This