Re: Need to check palloc() return value?

From: Neil Conway <neilc(at)samurai(dot)com>
To: Michael Fuhr <mike(at)fuhr(dot)org>
Cc: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: Need to check palloc() return value?
Date: 2005-02-16 04:39:14
Message-ID: 1108528754.26237.29.camel@localhost.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 2005-02-15 at 20:13 -0700, Michael Fuhr wrote:
> Do user-defined functions need to check palloc()'s return value,
> or does return guarantee success?

It guarantees success.

-Neil

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Ed L. 2005-02-16 05:51:59 hung postmaster?
Previous Message Greg Sabino Mullane 2005-02-16 03:51:12 Re: random record from small set