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$ (view raw, whole thread or download thread mbox)
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.


In response to


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-2017 The PostgreSQL Global Development Group