pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Böszörményi Zoltán <zb@cybertec.at>
To: Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>
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 11:27:56 +0200
Message-ID: <4C23251C.8060403@cybertec.at> (raw)
In-Reply-To: <4C231F9E.6000102@enterprisedb.com>
References: <201006232042.o5NKgb503695@momjian.us>
	<4C2308FD.1090300@cybertec.at>
	<4C231F9E.6000102@enterprisedb.com>

2010-06-24 11:04 keltezéssel, Heikki Linnakangas írta:
> On 24/06/10 10:27, Böszörményi Zoltán wrote:
>> And this readahead is not on by default, it's only activated
>> by "ecpg -r fetch_readahead".
>
> 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.

Because in the first step I wanted to minimize the impact
on regression test stderr results. This is what I mentioned
in the initial mail, I stuck to the original wording of ecpg_log()
messages in the split-up parts of the original ECPGdo() and
ecpg_execute() exactly for this reason. The usual policy for
ecpg_log() is to report the function name where it was issued.

I was also thinking about a new feature for pg_regress,
to compare stdout results of two regression tests automatically
so a difference can be reported as an error. It would be good
for automated testing of features in ECPG that can be toggled,
like auto-prepare and fetch readahead. It might come in handy
in other subsystems, too.

Best regards,
Zoltán Böszörményi




view thread (69+ messages)  latest in thread

Message-ID: <4C23251C.8060403@cybertec.at>
Permalink:  ../4C23251C.8060403@cybertec.at/
Also on:    postgresql.org/message-id/4C23251C.8060403@cybertec.at

 · 

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-hackers@postgresql.org
  Cc: zb@cybertec.at, heikki.linnakangas@enterprisedb.com, bruce@momjian.us, meskes@postgresql.org, hs@cybertec.at
  Subject: Re: ECPG FETCH readahead
  In-Reply-To: <4C23251C.8060403@cybertec.at>

* 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