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

Re: unchecked malloc

From: "Qingqing Zhou" <zhouqq(at)cs(dot)toronto(dot)edu>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: unchecked malloc
Date: 2005-09-27 08:24:14
Message-ID: dhal1u$suf$1@news.hub.org (view raw or flat)
Thread:
Lists: pgsql-hackers
"Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote
>
> No, because you're thinking in terms of the backend environment, and
> generally in the backend the answer to "when to use malloc directly"
> is "never".
>

Well, except before MemoryContext mechanism is set up? For example, the 
functions(e.g., GUC, vfd) used during bootstrap.

So are you suggesting we fix these place by place? This should be ok.

Regards,
Qingqing 



In response to

Responses

pgsql-hackers by date

Next:From: Gnanavel SDate: 2005-09-27 09:50:05
Subject: PostgreSQL overall design
Previous:From: Dave PageDate: 2005-09-27 08:21:44
Subject: Re: Making pgxs builds work with a relocated installation

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