Re: ECPG mass retrieval?

From: Michael Meskes <meskes(at)postgresql(dot)org>
To: Stergios Zissakis <szis(at)intranet(dot)gr>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: ECPG mass retrieval?
Date: 2004-03-29 15:15:35
Message-ID: 20040329151535.GB5929@1
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

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(at)jabber(dot)org
Go SF 49ers! Go Rhein Fire! Use Debian GNU/Linux! Use PostgreSQL!

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Bruce Momjian 2004-03-29 15:26:37 Re: ECPG segfault
Previous Message Michael Meskes 2004-03-29 15:13:21 Re: ECPG segfault