Re: tsearch2 memory alloc checks

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: "Nigel J(dot) Andrews" <nandrews(at)investsystems(dot)co(dot)uk>
Cc: pgsql-patches(at)postgresql(dot)org
Subject: Re: tsearch2 memory alloc checks
Date: 2003-09-28 00:29:22
Message-ID: 200309280029.h8S0TMx27380@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-28 00:36:58 Re: correct NUL vs. NULL usage
Previous Message Bruce Momjian 2003-09-28 00:18:07 Re: Improving REINDEX for system indexes (long)