Re: libpq docs about PQfreemem - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: libpq docs about PQfreemem
Date
Msg-id 200702041246.08965.peter_e@gmx.net
Whole thread Raw
In response to libpq docs about PQfreemem  (Magnus Hagander <magnus@hagander.net>)
Responses Re: libpq docs about PQfreemem  (Magnus Hagander <magnus@hagander.net>)
List 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/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Re: [COMMITTERS] pgsql: Add documentation for Windows on how to set an environment
Next
From: Magnus Hagander
Date:
Subject: Re: libpq docs about PQfreemem