Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i9pwr-0004cj-QC for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Sep 2019 12:17:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1i9pwp-0004ur-9s for pgsql-bugs@arkaria.postgresql.org; Mon, 16 Sep 2019 12:17:39 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1i9pFk-0000Ou-NJ for pgsql-bugs@lists.postgresql.org; Mon, 16 Sep 2019 11:33:08 +0000 Received: from scully.more-magic.net ([2a00:f10:400:2:4e8:9cff:fe00:31e]) by makus.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1i9pFd-0001PS-EY for pgsql-bugs@lists.postgresql.org; Mon, 16 Sep 2019 11:33:07 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=more-magic.net; s=dkim-2016-12; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=vLS8IAWH3yAdZpDwO2LS97gnYW40T+T6vu8iaG4coG4=; b=FmJ0m6EwcLbgSzbGTJrR1BztZ WvMA+aib4LskQwgITxa+EXKdrQ9rIv9sv7xqUKd5Rvt4pUtLW6oQd7+NEwQBiRdAd/er6ZJDfw9Ck GcCqB/pX0S5+jx48wk0zuFjoLDOtoChzLkErP9xqy7BbwqnfkKzntyUO9+4zGwPnjXgo0=; Received: from sjamaan by scully.more-magic.net with local (Exim 4.92) (envelope-from ) id 1i9pFZ-0003kJ-4A; Mon, 16 Sep 2019 13:32:57 +0200 Date: Mon, 16 Sep 2019 13:32:57 +0200 From: Peter Bex To: Alvaro Herrera Cc: David Rowley , Tom Lane , Marko Tiikkaja , PostgreSQL mailing lists Subject: Re: BUG #15383: Join Filter cost estimation problem in 10.5 Message-ID: <20190916113257.GP754@scully.more-magic.net> References: <20190905232014.GA32014@alvherre.pgsql> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="magLDk5D4XGaUXcd" Content-Disposition: inline In-Reply-To: <20190905232014.GA32014@alvherre.pgsql> X-PGP-Key: https://www.more-magic.net/peter-bex.asc User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --magLDk5D4XGaUXcd Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 05, 2019 at 07:20:14PM -0400, Alvaro Herrera wrote: > So does this proposal fix the problem that David was describing earlier? > If it does, Tom, would you like to get this finalized and pushed? >=20 > I've bcc'ed someone who might be interested in chiming in and/or helping > out. Please look here: > https://postgr.es/m/153683552113.22350.18441286362867559841@wrigleys.post= gresql.org Hi all, I was the one who originally reported the issue on IRC (Alvarro BCCed me). It took me a while to find the time to set up a VM with Postgres patched and unpatched. And I had to figure out which query it was again which triggered the issue (thank god that Firefox still had my explain pastes in its history). But I'm happy to report that the patch actually affects the real life query in a positive way; it's indeed much faster again after applying the patch! Will this make it into Postgres 12? Cheers, Peter --magLDk5D4XGaUXcd Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEE6bh5EUSYP1EE+1UTER25+ctFibAFAl1/cuUACgkQER25+ctF ibAxSQf/QAybzi9N0m+RcxGT0zcP70mpHwVPcFjBiEQL5liaDOMVpJftisXjYSV4 XntgBQNV1FCQbgezADLWsUCUWF+vMHm5W6PmolZUa/lptaQmDMR+ORcAOKlLxkz8 aqJH5z3hhU7E8bWuvPKBGiC2jaizv75i4kyvBl7juJLn/aBJJpx1jx3tXxmo1ehX 6GHJSTbxUc3ONEkQTaRRXihMVQK7T/6rl3xLuQHfqTVCXEIRLn9p6L8pvlNzjMA/ 2dxGybDvd/aVZ2UkML6HnDZJXyvkv2v05ktjuAX7XSzCrwrQ6vrcadGTc6oe70hH kXznm0r6l/StH3JmQfVfAa8cK/g0qg== =Nduk -----END PGP SIGNATURE----- --magLDk5D4XGaUXcd--