Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-interfaces by date

Next:From: Bruce MomjianDate: 2004-03-29 15:26:37
Subject: Re: ECPG segfault
Previous:From: Michael MeskesDate: 2004-03-29 15:13:21
Subject: Re: ECPG segfault

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group