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-29 18:54:52
Message-ID: 200309291854.h8TIsqG03616@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


Patch applied. Thanks.

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

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

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2003-09-29 18:55:59 Re: pretty print for check constraints broken
Previous Message Bruce Momjian 2003-09-29 18:53:19 Re: bug in clusterdb script