C Function Memory Management

From: Martin French <Martin(dot)French(at)romaxtech(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: C Function Memory Management
Date: 2012-12-12 10:25:44
Message-ID: OF03DA0388.AE4950A7-ON80257AD2.00392B31-80257AD2.003949F5@romaxtech.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)romaxtech(dot)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.
=================================================

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2012-12-12 10:33:14 Re: C Function Memory Management
Previous Message ac@hsk.hk 2012-12-12 08:06:43 Re: effective_cache_size and work_ram