pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephen Frost <sfrost@snowman.net>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andrew Dunstan <andrew@dunslane.net>
Cc: pgsql-hackers@postgresql.org
Subject: Re: [COMMITTERS] pgsql: Further fixes for degenerate outer join clauses.
Date: Thu, 13 Aug 2015 10:38:33 -0400
Message-ID: <20150813143833.GB3685@tamriel.snowman.net> (raw)
In-Reply-To: <20640.1439475986@sss.pgh.pa.us>
References: <E1ZNQxR-00072N-0D@gemulon.postgresql.org>
	<55CB9BEA.4030103@dunslane.net>
	<31854.1439433355@sss.pgh.pa.us>
	<20150813141005.GY3685@tamriel.snowman.net>
	<20640.1439475986@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-hackers>

* Tom Lane (tgl@sss.pgh.pa.us) wrote:
> Stephen Frost <sfrost@snowman.net> writes:
> > * Tom Lane (tgl@sss.pgh.pa.us) wrote:
> >> I'm not entirely sure what to do about this.  We could back-patch that
> >> patch into 9.0 and 9.1, but it's conceivable somebody would squawk about
> >> planner behavioral changes.  The only other idea that seems practical is
> >> to remove regression test cases that have platform-specific results in
> >> those branches.  Probably that wouldn't result in a real reduction in the
> >> quality of the test coverage for those branches (we could still execute
> >> the query, just not EXPLAIN it).  But it seems like a pretty ad-hoc
> >> answer, and the next case might be one that hurts more not to test.
> >> 
> >> Thoughts?
> 
> > Have an alternate file for those other cases, rather than remove the
> > test?  The complaint was about one buildfarm member, so hopefully that's
> > practical and doesn't require a lot of different permutations.
> 
> I considered that but don't find it practical or attractive, especially
> not if the only way to keep such a file updated is to wait and see whether
> the buildfarm complains.

I agree, that's a bit unfortunate, but it strikes me as pretty unlikely
that we're ever going to change those tests or that a code change would
end up causing yet another different plan before 9.1 is completely out
of support in the next couple years.

> On the whole I'm leaning towards back-patching 33e99153e.  While the case
> of exactly equal plan costs does come up in the regression tests (which
> tend to inspect plans for queries on small simple tables), I think it's
> relatively unlikely to happen with real-world data.

I agree it's unlikely, but I don't particularly like changing our mind
on a back-patching decision 3 years later to satisfy our regression
tests.

Still, I don't feel particularly strongly about either side of this, so
I'm happy with you making the decision.

	Thanks!
	
		Stephen

Attachments:

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

view thread (17+ messages)  latest in thread

Message-ID: <20150813143833.GB3685@tamriel.snowman.net>
Permalink:  ../20150813143833.GB3685@tamriel.snowman.net/
Also on:    postgresql.org/message-id/20150813143833.GB3685@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, tgl@sss.pgh.pa.us, andrew@dunslane.net, pgsql-hackers@postgresql.org
  Subject: Re: [COMMITTERS] pgsql: Further fixes for degenerate outer join clauses.
  In-Reply-To: <20150813143833.GB3685@tamriel.snowman.net>
  References: <E1ZNQxR-00072N-0D@gemulon.postgresql.org> <55CB9BEA.4030103@dunslane.net> <31854.1439433355@sss.pgh.pa.us> <20150813141005.GY3685@tamriel.snowman.net> <20640.1439475986@sss.pgh.pa.us> <20150813143833.GB3685@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