pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: In new pg_dump TAP tests, remove trailing "$" from regexps using
Date: Sat, 07 May 2016 20:36:56 +0000
Message-ID: <E1az8y8-0000oC-4l@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

In new pg_dump TAP tests, remove trailing "$" from regexps using /m.

It emerges that some Perl versions before 5.8.9 have a bug with regexps
that use the /m flag and contain "$".  This is the reason why jacana
is still failing on HEAD, and I was able to duplicate the failure on
prairiedog's host.  There's no real need for "$" in these patterns,
since they are already matching through the statement-terminating
semicolons (or matching an explicit \n in some cases).  So just
remove it.

Note: the reason jacana hasn't actually reported any failures in the
last little while is that the way the pg_dump TAP tests are set up, any
failure of this sort results in echoing the entire pg_dump dump output
to stderr.  Since there were about a hundred such failures, that resulted
in a 30MB log file which choked the buildfarm upload script.  There is
room for improvement here :-(.

Per off-list discussion with Andrew and Stephen.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/b8180884082d46346394e1c54fc454d2c16bf3ee

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl | 180 +++++++++++++++++++--------------------
1 file changed, 90 insertions(+), 90 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


Message-ID: <E1az8y8-0000oC-4l@gemulon.postgresql.org>
Permalink:  ../E1az8y8-0000oC-4l@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1az8y8-0000oC-4l@gemulon.postgresql.org

 · 

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: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: In new pg_dump TAP tests, remove trailing "$" from regexps using
  In-Reply-To: <E1az8y8-0000oC-4l@gemulon.postgresql.org>
  References: <E1az8y8-0000oC-4l@gemulon.postgresql.org>

* 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