Re: Need to check palloc() return value? - Mailing list pgsql-general

From Neil Conway
Subject Re: Need to check palloc() return value?
Date
Msg-id 1108528754.26237.29.camel@localhost.localdomain
Whole thread Raw
In response to Need to check palloc() return value?  (Michael Fuhr <mike@fuhr.org>)
List 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



pgsql-general by date:

Previous
From: "Greg Sabino Mullane"
Date:
Subject: Re: random record from small set
Next
From: "Ed L."
Date:
Subject: hung postmaster?