pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Robert Haas <robertmhaas@gmail.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage
Date: Mon, 20 Mar 2017 09:30:46 -0400
Message-ID: <20170320133046.GJ9812@tamriel.snowman.net> (raw)
In-Reply-To: <CA+TgmobKDtUvNRfZV4EwByYG=zedWoN-zuwO6wjkkkLXsD2EAg@mail.gmail.com>
References: <E1cpI0D-0007cL-2E@gemulon.postgresql.org>
	<CA+Tgmoaih22-Y_X4L5eHs196M_3Q71iQnJ5QRD5edRBU0g6GbA@mail.gmail.com>
	<20170320123302.GF9812@tamriel.snowman.net>
	<CA+TgmobKDtUvNRfZV4EwByYG=zedWoN-zuwO6wjkkkLXsD2EAg@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

Robert,

* Robert Haas (robertmhaas@gmail.com) wrote:
> On Mon, Mar 20, 2017 at 8:33 AM, Stephen Frost <sfrost@snowman.net> wrote:
> > * Robert Haas (robertmhaas@gmail.com) wrote:
> >> So was this 3340 line patch posted or discussed anyplace before it got
> >> committed?
> >
> > I've mentioned a few times that I'm working on improving pg_dump
> > regression tests and code coverage, which is what these were.  I'm a bit
> > surprised that it's, apparently, a surprise to anyone or that strictly
> > adding regression tests in the existing framework deserves very much
> > discussion.
> 
> I'm not saying it does.  I'm saying that it's polite, and expected, to
> post patches and ask for opinions before committing things.

While I certainly agree with that when it comes to new features, changes
in work-flow, bug fixes and other things, I'm really not sure that
requiring posting to the list and waiting for responses every time
someone wants to add some regression tests is a useful way to spend
time.  While the patch looked big, a lot of that is just that the
current structure requires listing out every 'like' and 'unlike' set for
each test, which adds up.

In this particular case, I've been discussing these pg_dump regression
tests for months, as I've been going through fixing bugs found by them
and back-patching them.  I had time over this weekend to watch the
buildfarm and make sure that it didn't explode (in which case, I would
have reverted the patch immediately, of course).  I would have preferred
to commit these new tests in a more fine-grained fashion, but I kept
finding issues, which meant that commiting them earlier would have just
turned the buildfarm red, which wouldn't have been beneficial to anyone.

I'm quite pleased to see that, for the most part, the tests have been
successful on the buildfarm.

Thanks!

Stephen

Attachments:

  signature.asc (application/pgp-signature, 818B) download

view thread (13+ messages)  latest in thread

Message-ID: <20170320133046.GJ9812@tamriel.snowman.net>
Permalink:  ../20170320133046.GJ9812@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20170320133046.GJ9812@tamriel.snowman.net

 · 

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: sfrost@snowman.net, robertmhaas@gmail.com, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage
  In-Reply-To: <20170320133046.GJ9812@tamriel.snowman.net>
  References: <E1cpI0D-0007cL-2E@gemulon.postgresql.org> <CA+Tgmoaih22-Y_X4L5eHs196M_3Q71iQnJ5QRD5edRBU0g6GbA@mail.gmail.com> <20170320123302.GF9812@tamriel.snowman.net> <CA+TgmobKDtUvNRfZV4EwByYG=zedWoN-zuwO6wjkkkLXsD2EAg@mail.gmail.com> <20170320133046.GJ9812@tamriel.snowman.net>

* 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