X-Original-To: pgsql-hackers-win32-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id D221852924 for ; Mon, 1 Aug 2005 04:38:35 -0300 (ADT) 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 38471-07 for ; Mon, 1 Aug 2005 07:38:33 +0000 (GMT) Received: from smtp4.wanadoo.fr (smtp4.wanadoo.fr [193.252.22.27]) by svr1.postgresql.org (Postfix) with ESMTP id 0AAF352903 for ; Mon, 1 Aug 2005 04:38:31 -0300 (ADT) Received: from me-wanadoo.net (unknown [127.0.0.1]) by mwinf0401.wanadoo.fr (SMTP Server) with ESMTP id E30491C00309 for ; Mon, 1 Aug 2005 09:38:31 +0200 (CEST) Received: from NSTMike (APoitiers-101-1-1-5.w193-251.abo.wanadoo.fr [193.251.25.5]) by mwinf0401.wanadoo.fr (SMTP Server) with ESMTP id 8FC541C002FA for ; Mon, 1 Aug 2005 09:38:31 +0200 (CEST) X-ME-UUID: 20050801073831588.8FC541C002FA@mwinf0401.wanadoo.fr Message-ID: <003501c5966c$03eb3df0$027ba8c0@NSTMike> Reply-To: "Michael GUIARD" From: "Michael GUIARD" To: Subject: retreive record set Date: Mon, 1 Aug 2005 09:38:25 +0200 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0032_01C5967C.C3F60AC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.081 tagged_above=0 required=5 tests=AWL, HTML_60_70, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200508/2 X-Sequence-Number: 3314 This is a multi-part message in MIME format. ------=_NextPart_000_0032_01C5967C.C3F60AC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi ! I'd like to get my request results in a record set as a C structure = using libpq. Is it possible or do I have to use ECPG only ? How PGresult pointer stores the results ?=20 Actually I can convert all my result fields from PGresult to my C = structure but I think also it is a little bit stupid if PGresult does = its own conversion before ... no ? thanks Mike ------=_NextPart_000_0032_01C5967C.C3F60AC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi !
 
I'd like to get my request results in a = record set=20 as a C structure using libpq.
Is it possible or do I have to use ECPG = only=20 ?
 
How PGresult pointer stores the results = ? 
Actually I can convert all my result = fields from=20 PGresult to my C structure but I think also it is a little bit stupid if = PGresult does its own conversion before ... no ?
 
thanks
Mike
------=_NextPart_000_0032_01C5967C.C3F60AC0--