pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@alvh.no-ip.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers@lists.postgresql.org
Subject: Re: pgsql: Implement pipeline mode in libpq
Date: Tue, 16 Mar 2021 11:36:06 -0300
Message-ID: <20210316143606.GA10815@alvherre.pgsql> (raw)
In-Reply-To: <3144460.1615860259@sss.pgh.pa.us>

On 2021-Mar-15, Tom Lane wrote:

> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> > Implement pipeline mode in libpq
> 
> So jacana and fairywren are unhappy about this, and the failure reports
> are totally uninformative:

Yeah.  This is the main clue:

> Mar 15 21:14:41 # Looks like you planned 8 tests but ran 15.
> Mar 15 21:14:41 # Looks like you failed 7 tests of 15 run.

We called the program seven additional times with empty string, so the
split is emitting extra results that are empty strings.

> I suspect that the "tests" output is including \r\n newlines
> and the "split" operation is not handling that right.

That seems the right guess.  We already use split(/\s+/) in other
scripts, particularly the Windows build ones, so that seems the correct
fix.

Pushed that fix.

-- 
Álvaro Herrera       Valdivia, Chile
"I dream about dreams about dreams", sang the nightingale
under the pale moon (Sandman)





view thread (7+ messages)  latest in thread

Message-ID: <20210316143606.GA10815@alvherre.pgsql>
Permalink:  ../20210316143606.GA10815@alvherre.pgsql/
Also on:    postgresql.org/message-id/20210316143606.GA10815@alvherre.pgsql

 · 

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 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: alvherre@alvh.no-ip.org, tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Implement pipeline mode in libpq
  In-Reply-To: <20210316143606.GA10815@alvherre.pgsql>
  References: <3144460.1615860259@sss.pgh.pa.us> <20210316143606.GA10815@alvherre.pgsql>

* 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