Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-patches by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group