pg.ddx.io  pgsql-hackers-win32@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael GUIARD <michael@nestor-tech.com>
To: pgsql-hackers-win32@postgresql.org
Subject: retreive record set
Date: Mon, 1 Aug 2005 09:38:25 +0200
Message-ID: <003501c5966c$03eb3df0$027ba8c0@NSTMike> (raw)

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 ? 
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

view thread (5+ messages)  latest in thread

Message-ID: <003501c5966c$03eb3df0$027ba8c0@NSTMike>
Permalink:  ../003501c5966c$03eb3df0$027ba8c0@NSTMike/
Also on:    postgresql.org/message-id/003501c5966c$03eb3df0$027ba8c0@NSTMike

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers-win32@postgresql.org
  Cc: michael@nestor-tech.com
  Subject: Re: retreive record set
  In-Reply-To: <003501c5966c$03eb3df0$027ba8c0@NSTMike>
  References: <003501c5966c$03eb3df0$027ba8c0@NSTMike>

* 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