From: Noah Misch <noah@leadboat.com>
To: Heikki Linnakangas <hlinnaka@iki.fi>
Cc: Jeff Janes <jeff.janes@gmail.com>
Cc: Fabien COELHO <coelho@cri.ensmp.fr>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Michael Paquier <michael.paquier@gmail.com>
Cc: PostgreSQL Developers <pgsql-hackers@postgresql.org>
Subject: Re: pgbench - minor fix for meta command only scripts
Date: Thu, 28 Sep 2017 05:23:26 +0000
Message-ID: <20170928052318.GC37725@rfd.leadboat.com> (raw)
In-Reply-To: <alpine.DEB.2.20.1709120303290.8852@lancre>
References: <alpine.DEB.2.20.1607130823530.7486@sto>
<c1a85521-5009-ebe5-1f5e-544e0bd7a88a@iki.fi>
<alpine.DEB.2.20.1609241112330.6473@lancre>
<b7aa6d66-daf8-bbe7-eeb3-26a25d18629a@iki.fi>
<CAMkU=1x5hoX0pLLKPRnXCy0T8uHoDvXdq+7kAM9eoC9_z72ucw@mail.gmail.com>
<alpine.DEB.2.20.1709042249120.19424@lancre>
<CAMkU=1xCmFMHC1z3SPXU6s-LQiEaJ9z=11_nLLKY3rJ6uMkMuw@mail.gmail.com>
<alpine.DEB.2.20.1709111044310.32517@lancre>
<CAMkU=1zQaGn7mz7Hz8xNNz7sJDkb5YP=4Xdvff4W0tjy7xTJKA@mail.gmail.com>
<alpine.DEB.2.20.1709120303290.8852@lancre>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>
On Tue, Sep 12, 2017 at 03:27:13AM +0200, Fabien COELHO wrote:
> >Shouldn't we use pg_usleep to ensure portability? it is defined for
> >front-end code. But it returns void, so the error check will have to be
> >changed.
>
> Attached v3 with pg_usleep called instead.
>
> >I didn't see the problem before the commit I originally indicated , so I
> >don't think it has to be back-patched to before v10.
>
> Hmmm.... you've got a point, although I'm not sure how it could work without
> sleeping explicitely. Maybe the path was calling select with an empty wait
> list plus timeout, and select is kind enough to just sleep on an empty list,
> or some other miracle. ISTM clearer to explicitely sleep in that case.
[Action required within three days. This is a generic notification.]
The above-described topic is currently a PostgreSQL 10 open item. Heikki,
since you committed the patch believed to have created it, you own this open
item. If some other commit is more relevant or if this does not belong as a
v10 open item, please let us know. Otherwise, please observe the policy on
open item ownership[1] and send a status update within three calendar days of
this message. Include a date for your subsequent status update. Testers may
discover new open items at any time, and I want to plan to get them all fixed
well in advance of shipping v10. Consequently, I will appreciate your efforts
toward speedy resolution. Thanks.
[1] https://www.postgresql.org/message-id/20170404140717.GA2675809%40tornado.leadboat.com
--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers
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-hackers@postgresql.org
Cc: noah@leadboat.com, hlinnaka@iki.fi, jeff.janes@gmail.com, coelho@cri.ensmp.fr, tgl@sss.pgh.pa.us, michael.paquier@gmail.com
Subject: Re: pgbench - minor fix for meta command only scripts
In-Reply-To: <20170928052318.GC37725@rfd.leadboat.com>
References: <alpine.DEB.2.20.1607130823530.7486@sto> <c1a85521-5009-ebe5-1f5e-544e0bd7a88a@iki.fi> <alpine.DEB.2.20.1609241112330.6473@lancre> <b7aa6d66-daf8-bbe7-eeb3-26a25d18629a@iki.fi> <CAMkU=1x5hoX0pLLKPRnXCy0T8uHoDvXdq+7kAM9eoC9_z72ucw@mail.gmail.com> <alpine.DEB.2.20.1709042249120.19424@lancre> <CAMkU=1xCmFMHC1z3SPXU6s-LQiEaJ9z=11_nLLKY3rJ6uMkMuw@mail.gmail.com> <alpine.DEB.2.20.1709111044310.32517@lancre> <CAMkU=1zQaGn7mz7Hz8xNNz7sJDkb5YP=4Xdvff4W0tjy7xTJKA@mail.gmail.com> <alpine.DEB.2.20.1709120303290.8852@lancre> <20170928052318.GC37725@rfd.leadboat.com>
* 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