libpq-fe: PQgetvalue() ? - Mailing list pgsql-sql

From sad
Subject libpq-fe: PQgetvalue() ?
Date
Msg-id 200410141634.22769.sad@bankir.ru
Whole thread Raw
List pgsql-sql
hi

does PQgetvalue() allocate memory rof its result, it returns ?
the answer will help me in problem:
should i free some cstring_variable if
{ cstring_variable=PQgetvalue(pgresult_variable,0,0); }
and could i PQclear(pgresult_varible) while cstring_varible is in use.

thnx



pgsql-sql by date:

Previous
From: "Philippe Lang"
Date:
Subject: Re: Plperlu function & backticks return value -> truncated?
Next
From: "C. Bensend"
Date:
Subject: Inserting into table only if the row does not already exist.