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 1ibUag-0003Pb-NV for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Dec 2019 19:09:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1ibUaf-00049d-J5 for pgsql-hackers@arkaria.postgresql.org; Sun, 01 Dec 2019 19:09:05 +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 1ibUaf-00049W-6o for pgsql-hackers@lists.postgresql.org; Sun, 01 Dec 2019 19:09:05 +0000 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1ibUac-00021t-RP for pgsql-hackers@postgresql.org; Sun, 01 Dec 2019 19:09:03 +0000 Received: by mail-wr1-x430.google.com with SMTP id c14so16831623wrn.7 for ; Sun, 01 Dec 2019 11:09:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=a+8ZgMp4IZNUIx8G3vkjqQQEQgZs12nxWn9/EMAhEII=; b=gWlSRQfZF+p8+Q4mzr/x1Dwxj3ZMXULwwFOLblXO8Zhm01H74URm0CODPkFVDtnQ47 Ea586fgVPWaZh2K6QIsfY9NG7OABKpPQ47psQc1Id/Wm5MSRWx9xteEr8sdQBq5nHOkX W0N707WblsPC69p+OsV9nZzRhmMMQmpXGCDz/wlItxRvB3JrA00uDswSNFZJHXut8i3A ijdMcqaooDu//D91yLqgkGhvtV7vgwykT/6nOJHnBh54sOpYq12cT6XHTaGUMDyJmtwV aesIq2yZzfJUkRFs/de40tvefJt0j5gYGLX/y5c5CkBUjIUoujhup8KVqv5tn6modmRm rRWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=a+8ZgMp4IZNUIx8G3vkjqQQEQgZs12nxWn9/EMAhEII=; b=Io89WybH2PRxH4QYLxQ29YLHjtL8hvOsfCboVqojns1UfqK2kDt/ZWRNK4e3iOz3F0 q09APP1gGz8E8X/bZRv4y43Xu5tw5pauy7QcpggmxJ5MUQjCTJyLulNeSvHwHW1kWYGv hafT3ihlCidJ+0IMeQEPq2ZRpchb1Ww2lYelskKEf9EaSBP08whkZjPOnF7bSISF7ThN MvLDLGNhUxRrQiCqhmAy9M/htYjwSidctGGtdKNnZwc3mzX7K5I05vdAz+GA8KXu8Gw9 qEc+B+2YwdiIyr+B4BWZ/HVqdfehe2AR+bjP34JfyOdmh8sB8T2N+vkQATUGZwSltVEE AZ3A== X-Gm-Message-State: APjAAAXPoZjK/1XQOOsjPHkrHu/W3OXVc68H2cBSfq+4u47vlYpqShPI JB3/v5WgTWid9uDimeR6+3hm5A== X-Google-Smtp-Source: APXvYqw5BvgIbCddTH55wPSfXKDlR+Y/amJtyPZe1ObvBlN9igj9QjonxMyNVTXDazOuD2ZTzcuCPQ== X-Received: by 2002:adf:df8e:: with SMTP id z14mr64335117wrl.190.1575227340983; Sun, 01 Dec 2019 11:09:00 -0800 (PST) Received: from localhost (ip-86-49-253-92.net.upcbroadband.cz. [86.49.253.92]) by smtp.gmail.com with ESMTPSA id a7sm8852978wrr.50.2019.12.01.11.08.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 01 Dec 2019 11:09:00 -0800 (PST) Date: Sun, 1 Dec 2019 20:08:58 +0100 From: Tomas Vondra To: Mark Dilger Cc: PostgreSQL Hackers Subject: Re: Using multiple extended statistics for estimates Message-ID: <20191201190858.oielyi5rpfg5mc23@development> References: <20191106195849.odhhc66xd23hw6hf@development> <97932e1d-53f1-bad3-efc2-1d98cab70727@gmail.com> <0da76f1f-5f9c-3ce3-3ac6-042d2a18430a@gmail.com> <20191110173428.w5klequcmb6gawaa@development> <20191113152823.jdpertc73gfo2mk7@development> <2e183f8d-1304-6024-90de-1017a861a235@gmail.com> <20191114155541.zliellgi2if4bb5f@development> <20191114200420.c3x2jf7ywzs23uzo@development> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Sat, Nov 30, 2019 at 03:01:31PM -0800, Mark Dilger wrote: > >Are you planning to submit a revised patch for this? > Yes, I'll submit a rebased version of this patch shortly. I got broken because of the recent fix in choose_best_statistics, shouldn't take long to update the patch. I do have a couple more related patches in the queue, so I want to submit them all at once. regards -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services