"Robert A. Knop Jr." <rknop(at)lilys(dot)lbl(dot)gov> writes:
> If one uses libpq functions such as PQfname, should one free the returned
> character string?
No. Unless the doc for the function explicitly says you should free
its result, it's a pointer into libpq-managed space.
regards, tom lane
In response to
pgsql-interfaces by date
|Next:||From: JT MacNeil||Date: 2000-06-27 22:18:28|
|Subject: ODBC and Visual C++|
|Previous:||From: tomas||Date: 2000-06-27 20:20:49|
|Subject: Re: libpq & freeing character results|