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: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql

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.



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-2017 The PostgreSQL Global Development Group