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

Re: libpq docs about PQfreemem

From: Magnus Hagander <magnus(at)hagander(dot)net>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: libpq docs about PQfreemem
Date: 2007-02-04 12:02:38
Message-ID: 45C5CB5E.3040101@hagander.net (view raw or flat)
Thread:
Lists: pgsql-hackers
Peter Eisentraut wrote:
> 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.

Ok. So you say update it to be worded to cover the correct info about
win32? Or should we change it into something that says "previously you
could use free(), but for portability reasons..."etc?

//Magnus

In response to

pgsql-hackers by date

Next:From: Jan WieckDate: 2007-02-04 15:06:27
Subject: Re: Proposal: Commit timestamp
Previous:From: Peter EisentrautDate: 2007-02-04 11:46:08
Subject: Re: libpq docs about PQfreemem

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