Re: C LIBRARY EXTENSION SEGFAULT

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "James M Doherty" <jim(at)jdoherty(dot)net>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: C LIBRARY EXTENSION SEGFAULT
Date: 2006-11-21 16:21:54
Message-ID: 5042.1164126114@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

"James M Doherty" <jim(at)jdoherty(dot)net> writes:
> pfree(myRDate);
> PG_RETURN_TEXT_P(myRDate);

Egad.

regards, tom lane

In response to

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Doherty EMAIL ACCOUNT 2006-11-21 17:58:49 Tom I Take it I should not free before the function returns ?
Previous Message Doherty EMAIL ACCOUNT 2006-11-21 11:49:28 SEGFAULT ON EXTENDED FUNCTION