Re: --enable-thread-safety bug

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Steve Clark <sclark(at)netwolves(dot)com>
Cc: pgsql <pgsql-general(at)postgresql(dot)org>
Subject: Re: --enable-thread-safety bug
Date: 2008-03-21 21:33:59
Message-ID: 5097.1206135239@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Steve Clark <sclark(at)netwolves(dot)com> writes:
> The return from malloc should be checked to make sure it succeeds -
> right???

Probably, but what do you expect the code to do if it doesn't succeed?
This function seems not to have any defined error-return convention.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Edoardo Panfili 2008-03-21 21:42:25 C function and enum types parameters
Previous Message Andreas 'ads' Scherbaum 2008-03-21 21:32:16 Re: Transaction wraparound problem with database postgres