pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
To: Noah Misch <noah@leadboat.com>
Cc: Peter Geoghegan <pg@bowt.ie>
Cc: Alvaro Herrera <alvherre@2ndquadrant.com>
Cc: Bruce Momjian <bruce@momjian.us>
Cc: PostgreSQL Hackers <pgsql-hackers@postgresql.org>
Cc: Pg Committers <pgsql-committers@postgresql.org>
Subject: Re: Tips on committing
Date: Mon, 30 Jul 2018 14:40:35 +0200
Message-ID: <b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.com> (raw)
In-Reply-To: <20298.1532318338@sss.pgh.pa.us>
References: <CAH2-WzktkdJ4GCU=0aMpQ6KiC8pv-zsOy-Mc0m4isS7BP-9Z2Q@mail.gmail.com>
	<20180628165214.fwx7r7xbnballusn@alvherre.pgsql>
	<CAH2-Wz=BkTRfYB9az=G3roKR7d=ob0kDhEkvL8oDPn1XKYDeyg@mail.gmail.com>
	<20180711041404.GA945895@rfd.leadboat.com>
	<20298.1532318338@sss.pgh.pa.us>

On 23/07/2018 05:58, Tom Lane wrote:
> 013f320dc reminds me of something I check for religiously: look for
> alternative output files for any regression test you're updating the
> output of.
> 
> Actually updating said files, once you notice you need to, can be tricky
> in itself.  Most of the time it works to just apply the same patch to the
> other variants as the delta you're observing for the output file that's
> relevant to your own platform.  Or you may be able to change configuration
> so as to replicate the correct output for another alternative file.  But
> sometimes you just have to guess (and then watch the buildfarm to see if
> you guessed right).

There is a recipe for doing this using the "merge" command here:
https://wiki.postgresql.org/wiki/Regression_test_authoring#Updating_an_existing_regression_test

YMMV

-- 
Peter Eisentraut              http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services




view thread (21+ messages)

Message-ID: <b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.com>
Permalink:  ../b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.com/
Also on:    postgresql.org/message-id/b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.com

 · 

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: peter.eisentraut@2ndquadrant.com, tgl@sss.pgh.pa.us, noah@leadboat.com, pg@bowt.ie, alvherre@2ndquadrant.com, bruce@momjian.us, pgsql-hackers@postgresql.org
  Subject: Re: Tips on committing
  In-Reply-To: <b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.com>
  References: <CAH2-WzktkdJ4GCU=0aMpQ6KiC8pv-zsOy-Mc0m4isS7BP-9Z2Q@mail.gmail.com> <20180628165214.fwx7r7xbnballusn@alvherre.pgsql> <CAH2-Wz=BkTRfYB9az=G3roKR7d=ob0kDhEkvL8oDPn1XKYDeyg@mail.gmail.com> <20180711041404.GA945895@rfd.leadboat.com> <20298.1532318338@sss.pgh.pa.us> <b745e9af-2142-3324-05d0-6797f0f427d3@2ndquadrant.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