From: Fabien COELHO <coelho@cri.ensmp.fr>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Refactor script execution state machine in pgbench.
Date: Tue, 27 Sep 2016 08:38:24 +0200 (CEST)
Message-ID: <alpine.DEB.2.20.1609270828030.6970@lancre> (raw)
In-Reply-To: <23001.1474932337@sss.pgh.pa.us>
References: <E1boQmO-0000U8-0D@gemulon.postgresql.org>
<3089.1474920612@sss.pgh.pa.us>
<alpine.DEB.2.20.1609262212280.28877@lancre>
<23001.1474932337@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
Hello Tom,
> I think the problem is here (pgbench.c lines 4550):
Hmmm... Indeed "typedef char bool;". I thought postgresql bool was an
int, I usually do "typedef enum { false, true } bool;"
> I see a number of other things that look pretty infelicitous in this
> code --- for example, why is the loop at lines 4440 break'ing after
> it comes across the first socket to wait for?
Indeed this seems strange. I will have a look at that as well.
I'll try to look at these tonight, or if I can't by the end of the week.
--
Fabien.
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: coelho@cri.ensmp.fr, tgl@sss.pgh.pa.us, heikki.linnakangas@iki.fi
Subject: Re: pgsql: Refactor script execution state machine in pgbench.
In-Reply-To: <alpine.DEB.2.20.1609270828030.6970@lancre>
References: <E1boQmO-0000U8-0D@gemulon.postgresql.org> <3089.1474920612@sss.pgh.pa.us> <alpine.DEB.2.20.1609262212280.28877@lancre> <23001.1474932337@sss.pgh.pa.us> <alpine.DEB.2.20.1609270828030.6970@lancre>
* 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