pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: sad <sad@bankir.ru>
To: pgsql-sql@postgresql.org
Subject: libpq-fe: PQgetvalue() ?
Date: Thu, 14 Oct 2004 16:34:22 +0400
Message-ID: <200410141634.22769.sad@bankir.ru> (raw)

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




view thread (4+ messages)  latest in thread

Message-ID: <200410141634.22769.sad@bankir.ru>
Permalink:  ../200410141634.22769.sad@bankir.ru/
Also on:    postgresql.org/message-id/200410141634.22769.sad@bankir.ru

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sad@bankir.ru
  Subject: Re: libpq-fe: PQgetvalue() ?
  In-Reply-To: <200410141634.22769.sad@bankir.ru>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox