X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 9E13132A589 for ; Thu, 14 Oct 2004 14:24:29 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 99169-08 for ; Thu, 14 Oct 2004 13:24:23 +0000 (GMT) Received: from rock.spider.ru (rock.spider.ru [62.183.34.226]) by svr1.postgresql.org (Postfix) with ESMTP id C208632A36A for ; Thu, 14 Oct 2004 14:24:25 +0100 (BST) Received: from rock (localhost [127.0.0.1]) by rock (Postfix) with SMTP id 419CE27423 for ; Thu, 14 Oct 2004 17:24:24 +0400 (MSD) Received: from sad.localnet.ru (sad.localnet.ru [10.0.0.72]) by rock.spider.ru (Postfix) with ESMTP id 8706927422 for ; Thu, 14 Oct 2004 17:24:23 +0400 (MSD) Content-Type: text/plain; charset="us-ascii" From: sad Organization: IT To: pgsql-sql@postgresql.org Subject: libpq-fe: PQgetvalue() ? Date: Thu, 14 Oct 2004 16:34:22 +0400 User-Agent: KMail/1.4.3 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200410141634.22769.sad@bankir.ru> X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/95 X-Sequence-Number: 19198 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=3DPQgetvalue(pgresult_variable,0,0); } and could i PQclear(pgresult_varible) while cstring_varible is in use. thnx