Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZPtfg-0007n9-At for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Aug 2015 14:39:56 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZPtff-0005pJ-T7 for pgsql-hackers@arkaria.postgresql.org; Thu, 13 Aug 2015 14:39:55 +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) (envelope-from ) id 1ZPteP-0004Af-Ev for pgsql-hackers@postgresql.org; Thu, 13 Aug 2015 14:38:37 +0000 Received: from tamriel.snowman.net ([2001:4830:167b::11]) by magus.postgresql.org with esmtp (Exim 4.84) (envelope-from ) id 1ZPteM-0007Hh-J0 for pgsql-hackers@postgresql.org; Thu, 13 Aug 2015 14:38:36 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id E3A965F7AE; Thu, 13 Aug 2015 10:38:33 -0400 (EDT) Date: Thu, 13 Aug 2015 10:38:33 -0400 From: Stephen Frost To: Tom Lane Cc: Andrew Dunstan , pgsql-hackers@postgresql.org Subject: Re: [COMMITTERS] pgsql: Further fixes for degenerate outer join clauses. Message-ID: <20150813143833.GB3685@tamriel.snowman.net> References: <55CB9BEA.4030103@dunslane.net> <31854.1439433355@sss.pgh.pa.us> <20150813141005.GY3685@tamriel.snowman.net> <20640.1439475986@sss.pgh.pa.us> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="fAnX9Hentx8C7RTv" Content-Disposition: inline In-Reply-To: <20640.1439475986@sss.pgh.pa.us> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/3.13.0-61-generic (x86_64) X-Uptime: 10:27:25 up 8 days, 22:57, 4 users, load average: 0.15, 0.12, 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 --fAnX9Hentx8C7RTv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Tom Lane (tgl@sss.pgh.pa.us) wrote: > Stephen Frost 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 abo= ut > >> 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. > >>=20 > >> Thoughts? >=20 > > 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. >=20 > 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! =09 Stephen --fAnX9Hentx8C7RTv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJVzKvpAAoJEO1sijiDR2RVTZAP+wRphL449S82jmZqUDXtJAdl r7sP6UarWgViYFFI6moCEQXKc38Dx5nLnhRv7KZg34sdDHAUiLdJPAZrvu9QKo7u f/xcV6hdkR0mE4KKSmQKDFNja76hp2vcantmuTGDBDNcDMJPp1VkpRO6smTmGe3E wHppyfb1C3936zyHzyN+jXOMJUBISp4UyvKP1N2326KQQV7IhUipQdwyn1/7Pi2j ww/fHG4Fmq7bFjFtShzR9cH6Et3rhFw+xDtRUKfvXjveI0soTayKVk1LjFFhTNDc /ttIVOuu0rJFooUa25PrAsH3APWgM1ATadux3NPB8aBUrx6/Hprm35KIGMOHl/wk YPTV4G2GoOm/VhrxfZ9fhnlAcjELq76ZHS4AaKDHko1Y/0+YSO03qqlrUCLuQeUz Qt6EKQadwOEeoyrVnstU2skZ5tCL/HKgxUdrPBW/VUpfMjVvmKji4/026pK+S2V7 exzhlNiaGKQNazUplXSfiwrmOdjRNfatx35KkXj5W/VB2QO7MxpxDfZ1x2oxrAkl Lz8AvNUxJkZBextKrHi5Z2g9YNs0qicIh9SZ0ypbrL9FDVtwYmFfIS4XeXmOXm0m Lf0374QiXydhTqnc1rAX8zie+yRXBeF7bhSLS7G2By9Tkz5w69tGRWxGhihUKNMP cSbAcyxhJcOkyYhdmt4/ =ZN9U -----END PGP SIGNATURE----- --fAnX9Hentx8C7RTv--