From: Michael Meskes <meskes@postgresql.org>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
Cc: Böszörményi Zoltán <zb@cybertec.at>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: Michael Meskes <meskes@postgresql.org>
Cc: PG Hackers <pgsql-hackers@postgresql.org>
Cc: Hans-Juergen Schoenig <hs@cybertec.at>
Subject: Re: ECPG FETCH readahead
Date: Thu, 24 Jun 2010 14:19:22 +0200
Message-ID: <20100624121922.GD24137@feivel.credativ.lan> (raw)
In-Reply-To: <4C231F9E.6000102@enterprisedb.com>
References: <201006232042.o5NKgb503695@momjian.us>
<4C2308FD.1090300@cybertec.at>
<4C231F9E.6000102@enterprisedb.com>
On Thu, Jun 24, 2010 at 12:04:30PM +0300, Heikki Linnakangas wrote:
> Is there a reason not to enable it by default? I'm a bit worried
> that it will receive no testing if it's not always on.
Yes, there is a reason, namely that you don't need it in native mode at all.
ECPG can read as many records as you want in one go, something ESQL/C
apparently cannot do. This patch is a workaround for that restriction. I still
do not really see that this feature gives us an advantage in native mode
though.
Michael
--
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Michael at BorussiaFan dot De, Meskes at (Debian|Postgresql) dot Org
ICQ 179140304, AIM/Yahoo/Skype michaelmeskes, Jabber meskes@jabber.org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL
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-hackers@postgresql.org
Cc: meskes@postgresql.org, heikki.linnakangas@enterprisedb.com, zb@cybertec.at, bruce@momjian.us, hs@cybertec.at
Subject: Re: ECPG FETCH readahead
In-Reply-To: <20100624121922.GD24137@feivel.credativ.lan>
* 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