Re: Any reason to have heap_(de)formtuple? - Mailing list pgsql-hackers

From Kris Jurka
Subject Re: Any reason to have heap_(de)formtuple?
Date
Msg-id Pine.BSO.4.64.0810281721500.6833@leary.csoft.net
Whole thread Raw
In response to Re: Any reason to have heap_(de)formtuple?  (Zdenek Kotala <Zdenek.Kotala@Sun.COM>)
Responses Re: Any reason to have heap_(de)formtuple?
List pgsql-hackers

On Tue, 28 Oct 2008, Zdenek Kotala wrote:

> Kris Jurka napsal(a):
>> 
>> Here's a patch that changes everything over to the the new API and 
>> implements the old API by calling the new API.
>
> It seems to me OK. I have only one comment. I prefer to pfree allocated 
> memory for temporary nulls array. I think that caller could call old API 
> many times without memory context cleanup.
>

Here's an incremental patch to add the suggested pfreeing.

Kris Jurka

pgsql-hackers by date:

Previous
From: Martin Pihlak
Date:
Subject: Re: contrib/pg_stat_statements
Next
From: Hannu Krosing
Date:
Subject: Re: PostgreSQL + Replicator developer meeting 10/28