Re: C Function Memory Management - Mailing list pgsql-general

From Pavel Stehule
Subject Re: C Function Memory Management
Date
Msg-id CAFj8pRBeU_ypj_kQairOJXV1yVyvTDJ_bx2HAw6w7Of1nA-7dQ@mail.gmail.com
Whole thread Raw
In response to C Function Memory Management  (Martin French <Martin.French@romaxtech.com>)
Responses Re: C Function Memory Management  (Martin French <Martin.French@romaxtech.com>)
List pgsql-general
Hello


2012/12/12 Martin French <Martin.French@romaxtech.com>:
> Ok, so just a (hopefully) quick question.
>
> I know that I should be using the Postgres function palloc in place of
> malloc, but what about realloc? Is there an equivalent?

yes,

repalloc

Regards

Pavel Stehule

>
> Thanks.
> =============================================
>
> Romax Technology Limited
> Rutherford House
> Nottingham Science & Technology Park
> Nottingham,
> NG7 2PZ
> England
>
> Telephone numbers:
> +44 (0)115 951 88 00 (main)
>
> For other office locations see:
> http://www.romaxtech.com/Contact
> =================================
> ===============
> E-mail: info@romaxtech.com
> Website: www.romaxtech.com
> =================================
>
> ================
> Confidentiality Statement
> This transmission is for the addressee only and contains information that is
> confidential and privileged.
> Unless you are the named addressee, or authorised to receive it on behalf of
> the addressee
> you may not copy or use it, or disclose it to anyone else.
> If you have received this transmission in error please delete from your
> system and contact the sender. Thank you for your cooperation.
> =================================================


pgsql-general by date:

Previous
From: Martin French
Date:
Subject: C Function Memory Management
Next
From: Martin French
Date:
Subject: Re: C Function Memory Management