tsearch2 memory alloc checks - Mailing list pgsql-patches

From Nigel J. Andrews
Subject tsearch2 memory alloc checks
Date
Msg-id Pine.LNX.4.21.0309240108420.25713-200000@ponder.fairway2k.co.uk
Whole thread Raw
Responses Re: tsearch2 memory alloc checks  (Bruce Momjian <pgman@candle.pha.pa.us>)
Re: tsearch2 memory alloc checks  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-patches
This should apply cleanly to cvs tip.

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

Attachment

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: bug in vacuumlo?
Next
From: Christopher Kings-Lynne
Date:
Subject: Re: bug in vacuumlo?