Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpxPC-0005ox-6B for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 13:31:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1cpxPB-0003AV-HQ for pgsql-hackers@arkaria.postgresql.org; Mon, 20 Mar 2017 13:31:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1cpxP9-000391-OL for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 13:31:23 +0000 Received: from tamriel.snowman.net ([72.66.115.51]) by magus.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cpxP3-0007Kl-GC for pgsql-hackers@postgresql.org; Mon, 20 Mar 2017 13:31:20 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id C93FD5F794; Mon, 20 Mar 2017 09:30:46 -0400 (EDT) Date: Mon, 20 Mar 2017 09:30:46 -0400 From: Stephen Frost To: Robert Haas Cc: pgsql-hackers Subject: Re: [COMMITTERS] pgsql: Improve pg_dump regression tests and code coverage Message-ID: <20170320133046.GJ9812@tamriel.snowman.net> References: <20170320123302.GF9812@tamriel.snowman.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NM1ccy1sVXaR/cS/" Content-Disposition: inline In-Reply-To: X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-91-generic (x86_64) X-Uptime: 09:17:26 up 254 days, 14:41, 21 users, load average: 0.08, 0.10, 0.13 User-Agent: Mutt/1.5.21 (2010-09-15) X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org --NM1ccy1sVXaR/cS/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Robert, * Robert Haas (robertmhaas@gmail.com) wrote: > On Mon, Mar 20, 2017 at 8:33 AM, Stephen Frost 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. >=20 > 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 --NM1ccy1sVXaR/cS/ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJYz9mGAAoJEO1sijiDR2RVPDsQAKqcFXu4PFa3KVt3II7O6u6Z bCqesKR6qVPLrvVTzu/qrNF8F+ByJDu7fx7bC/WxMlLJHHUfAb7WQDDzndA8nDA7 4nrjR1hWkFLYKhGTCew20w4FErZOqAK5VJynvaxrNhJaATxX8ZY8purKJEROY+Bc wdOB/GICRfsSv9uL5ww5No70DOeYt8iYhBEchO841Bt4nFkw6FrB6jnYXXufmzTK cqX0UVyptpU/Q1oK6Xgzl9+Sh7WnJhx9MPLtuwokQJy+IrM4iQvwTvA3/mCqUNAN 7uA6AYZgyc3uqWBx02c9OkapuoCsw2fHVHTM3ae08NV/Gpje9SzrfyNXr2q7UItu 2DaONUiZpbgvjz94zGROqSWGGziOmHrJ4EItQWRCvUB4dmtIeVL3lUJc1MQ96kJX yYyqJBF5D/tXHZv1GLvtNHnzEc7LD59qJH37dOkCnZ6vdw0o8wIAiYN0ndcuPz44 qghOwnMRvtwKWqjtK6ppjCs5RduJQ38to+F5NVuPqKJLfrWAphyPAujyVDNuW28Q WNucA+9OOk/ie0PTrQ1MMXTSmYZIVJXqz/lfLp+Se9d+TWVaZPd95W/qba9aTSNw qy50SW1EW9q2WxDpUwqBxOjtBRLCCzeaaIRC7uqa7AQjP0PoifI+MGB35wUCOBj8 4ICWwXCpFyeBGpr+Yhut =1Exv -----END PGP SIGNATURE----- --NM1ccy1sVXaR/cS/--