libpq-fe: PQgetvalue() ?

From: sad <sad(at)bankir(dot)ru>
To: pgsql-sql(at)postgresql(dot)org
Subject: libpq-fe: PQgetvalue() ?
Date: 2004-10-14 12:34:22
Message-ID: 200410141634.22769.sad@bankir.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message ljb 2004-10-15 00:51:32 Re: libpq-fe: PQgetvalue() ?
Previous Message Philippe Lang 2004-10-13 15:54:31 Re: Plperlu function & backticks return value -> truncated?