Skip site navigation (1) Skip section navigation (2)

Tom I Take it I should not free before the function returns ?

From: "Doherty EMAIL ACCOUNT" <jmdpg(at)jdoherty(dot)net>
To: "pgsql-interface" <pgsql-interfaces(at)postgresql(dot)org(dot)>
Subject: Tom I Take it I should not free before the function returns ?
Date: 2006-11-21 17:58:49
Message-ID: 004a01c70d96$b3e87540$c801a8c0@jmdbox (view raw or flat)
Thread:
Lists: pgsql-interfaces
James M Doherty" <jim(at)jdoherty(dot)net> writes:
>                                 pfree(myRDate);
>                         PG_RETURN_TEXT_P(myRDate);

Egad.

regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 1: if posting/reading through Usenet, please send an appropriate
       subscribe-nomail command to majordomo(at)postgresql(dot)org so that your
       message can get through to the mailing list cleanly

pgsql-interfaces by date

Next:From: Doherty EMAIL ACCOUNTDate: 2006-11-21 18:04:35
Subject: Fw: SEGFAULT ON EXTENDED FUNCTION
Previous:From: Tom LaneDate: 2006-11-21 16:21:54
Subject: Re: C LIBRARY EXTENSION SEGFAULT

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group