Re: tsearch2 memory alloc checks - Mailing list pgsql-patches

From Bruce Momjian
Subject Re: tsearch2 memory alloc checks
Date
Msg-id 200309280029.h8S0TMx27380@candle.pha.pa.us
Whole thread Raw
In response to tsearch2 memory alloc checks  ("Nigel J. Andrews" <nandrews@investsystems.co.uk>)
Responses Re: tsearch2 memory alloc checks
List pgsql-patches
This has been saved for the 7.5 release:

    http:/momjian.postgresql.org/cgi-bin/pgpatches2

---------------------------------------------------------------------------

Nigel J. Andrews wrote:
>
> 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

Content-Description:

[ Attachment, skipping... ]

>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-patches by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [BUGS] bug in clusterdb script
Next
From: Bruce Momjian
Date:
Subject: Re: correct NUL vs. NULL usage