Re: tsearch2 memory alloc checks

Поиск
Список
Период
Сортировка
От Nigel J. Andrews
Тема Re: tsearch2 memory alloc checks
Дата
Msg-id Pine.LNX.4.21.0309280938570.8264-100000@ponder.fairway2k.co.uk
обсуждение исходный текст
Ответ на Re: tsearch2 memory alloc checks  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: tsearch2 memory alloc checks
Список pgsql-patches
On Sat, 27 Sep 2003, Bruce Momjian wrote:
>
> This has been saved for the 7.5 release:
>
>     http:/momjian.postgresql.org/cgi-bin/pgpatches2

Are you sure Bruce? I'd say this is bug fixing.

Although it doesn't fix the underlying cause of the fault it does cover the
specific fault generated and reported by someone. Athough that was running in
a 7.3 server I believe, this addresses the same fault in the 7.4 contrib.


>
> ---------------------------------------------------------------------------
>
> 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.


В списке pgsql-patches по дате отправления:

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: pretty print for check constraints broken
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: correct NUL vs. NULL usage