[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

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.3

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

2003-09-17 Thread Nigel J. Andrews
] patch to fix that. It's not going to fix whatever is putting you into the situation that makes calloc fail though. It'll just make the failure less disasterous. -- Nigel J. Andrews *** tsearch2/snowball/api.c Mon Jul 7 15:29:46 2003 --- /tmp/postgresql-7.3.4/contrib/tsearch2/snowball/api.c

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

[PATCHES] tsearch2 memory alloc checks

2003-09-23 Thread Nigel J. Andrews
-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/tsearch2/ts_cfg.c

Re: [PATCHES] tsearch2 memory alloc checks

2003-09-28 Thread Nigel J. Andrews
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 should apply cleanly to cvs tip. I've not changed any