C Function Memory Management - Mailing list pgsql-general

From Martin French
Subject C Function Memory Management
Date
Msg-id OF03DA0388.AE4950A7-ON80257AD2.00392B31-80257AD2.003949F5@romaxtech.com
Whole thread Raw
Responses Re: C Function Memory Management  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
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?

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: "ac@hsk.hk"
Date:
Subject: Re: effective_cache_size and work_ram
Next
From: Pavel Stehule
Date:
Subject: Re: C Function Memory Management