I've not changed any malloc/calloc to palloc. It looks to me that these memory

Bruce Momjian <bruce@momjian.us>

Commit: 6000e3280540701e56d347c60a0afc35e4fd96ae
Author: Bruce Momjian <bruce@momjian.us>
Date: 2003-09-29T18:54:38Z
Releases: 7.4.1
I've not changed any malloc/calloc to palloc. It looks to me that these memory
areas are for the lifetime of the backend and in the interests of not breaking
something that's not broken I left alone.

Note for anyone reading this and wanting it for 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

Files

PathChange+/−
contrib/tsearch2/snowball/api.c modified +33 −9
contrib/tsearch2/snowball/utilities.c modified +2 −0
contrib/tsearch2/ts_cfg.c modified +3 −0