pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Meskes <meskes@postgresql.org>
To: Stergios Zissakis <szis@intranet.gr>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: ECPG mass retrieval?
Date: Mon, 29 Mar 2004 17:15:35 +0200
Message-ID: <20040329151535.GB5929@1> (raw)
In-Reply-To: <NGBBJHBHDKPNOODGDMMAKELNCGAA.szis@intranet.gr>
References: <NGBBJHBHDKPNOODGDMMAKELNCGAA.szis@intranet.gr>

On Mon, Mar 29, 2004 at 04:13:22PM +0300, Stergios Zissakis wrote:
> It is possible to do bulk retrievals using ECPG?

Yes.

> What alternatives do I have to fetch things in bulk?

Just look into test1.pgc in the source tree to see how it works. Of
course, as already pointed out, you don't have to use fixed-size arrays.
Ecpg can allocate the memory for you.

Michael
-- 
Michael Meskes
Email: Michael at Fam-Meskes dot De
ICQ: 179140304, AIM/Yahoo: michaelmeskes, Jabber: meskes@jabber.org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!



view thread (4+ messages)

Message-ID: <20040329151535.GB5929@1>
Permalink:  ../20040329151535.GB5929@1/
Also on:    postgresql.org/message-id/20040329151535.GB5929@1

 · 

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-interfaces@postgresql.org
  Cc: meskes@postgresql.org, szis@intranet.gr
  Subject: Re: ECPG mass retrieval?
  In-Reply-To: <20040329151535.GB5929@1>

* 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