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

Re: libpq docs about PQfreemem

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-hackers(at)postgresql(dot)org
Cc: Magnus Hagander <magnus(at)hagander(dot)net>
Subject: Re: libpq docs about PQfreemem
Date: 2007-02-04 11:46:08
Message-ID: 200702041246.08965.peter_e@gmx.net (view raw or flat)
Thread:
Lists: pgsql-hackers
Magnus Hagander wrote:
> Now, there are two options for this. Either we fix it (I can put
> together a patch), or we remove it altogether. To me, it seems to be
> just an implementation detail and some kind of explanation why we're
> doing it - which would live better in a source code comment than in
> the docs.

Old code assumes you can use free() to free all of these things, so it 
seems reasonable to give some background about why that is not the best 
method anymore.

-- 
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

pgsql-hackers by date

Next:From: Magnus HaganderDate: 2007-02-04 12:02:38
Subject: Re: libpq docs about PQfreemem
Previous:From: Peter EisentrautDate: 2007-02-04 11:44:06
Subject: Re: Re: [COMMITTERS] pgsql: Add documentation for Windows on how to set an environment

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