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

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 (view raw or flat)
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

pgsql-sql by date

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

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