retreive record set
"Michael GUIARD" <[email protected]> Mon, 1 Aug 2005 09:38:25 +0200
| Newsgroups | gmane.comp.db.postgresql.devel.win32 |
|---|---|
| Message-ID | <003501c5966c$03eb3df0$027ba8c0@NSTMike> |
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 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META http-equiv=3DContent-Type content=3D"text/html; = charset=3Diso-8859-1"> <META content=3D"MSHTML 6.00.2900.2668" name=3DGENERATOR> <STYLE></STYLE> </HEAD> <BODY bgColor=3D#e9e7e2> <DIV><FONT face=3DArial size=3D2>Hi !</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>I'd like to get my request results in a = record set=20 as a C structure using libpq.</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Is it possible or do I have to use ECPG = only=20 ?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>How PGresult pointer stores the results = ? </FONT></DIV> <DIV><FONT face=3DArial size=3D2>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 ?</FONT></DIV> <DIV><FONT face=3DArial size=3D2></FONT> </DIV> <DIV><FONT face=3DArial size=3D2>thanks</FONT></DIV> <DIV><FONT face=3DArial size=3D2>Mike</FONT></DIV></BODY></HTML> ------=_NextPart_000_0032_01C5967C.C3F60AC0--