Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kwS32-0000hJ-RG for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Jan 2021 15:45:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kwS31-00070i-N5 for pgsql-hackers@arkaria.postgresql.org; Mon, 04 Jan 2021 15:45:31 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kwS31-000707-Ac for pgsql-hackers@lists.postgresql.org; Mon, 04 Jan 2021 15:45:31 +0000 Received: from mail-il1-x12d.google.com ([2607:f8b0:4864:20::12d]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kwS2y-0005Qf-Nb for pgsql-hackers@postgresql.org; Mon, 04 Jan 2021 15:45:30 +0000 Received: by mail-il1-x12d.google.com with SMTP id 75so25623771ilv.13 for ; Mon, 04 Jan 2021 07:45:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=1tw0B1kqdPNZm1NS9+9OZVUUIvhk109Dk/gC+PwcArE=; b=unQNwSc/UD4jrpOqGD01YvJkyTHdbFX6oGIrpQ7XwyljQy4saTeBClT4F+cEoRh2M3 pPXpbGbwK1gjvFgH7voZy/KK8LxSm9rXOTzpirCrmzzQ8I5slDpiL64aAJlWT9T5Umv3 bTaU2O9HCJ6aihUGTmoqGo+uzTQt+pbrLuLEqpzY/APSMtRHdpt88M0NhDnvDOacZeKv G+QnAMUGCZo/7qu4eNKTPAXMoUYI9x10Uc+X0NHAdkbjDqIVSVO4Omb9T1YnMzZTUjzO SsKEeNT0iOs0GWqnpvRWQKQct96mvOYwk0SnKD45SqQGbC6S7OYkudo5mGUz0MTPjeL2 0UIQ== 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:user-agent; bh=1tw0B1kqdPNZm1NS9+9OZVUUIvhk109Dk/gC+PwcArE=; b=mTdJZkSGJx06KZFNTzAMDn4EMUbIK4dXrkoKsKYNAB44hY4WIFypal+b6OrW5YwTlr cFZQXMaBe4p72UTFO50Q5cmIW5o94jojmG8sPt/yxUeVgC8i8eCPEzguMb3gjE8gWdWU SPN+nmTnvLWYSYCuvdwkEy3usP5D7JIIFVNkPDP5z+8wovSXjHSXYNodSmgLEGViZDmL uKCQ0Sv+/1dR7sj238xY1MU2u7YfkkuXqjxXU9ABJlsBe65y9wLsk8D7HHvZc96WxUXQ M6e0t3uJ4shgJB4kjBOWatTj5b0Wwbgbxgqb1ywUrLE0oUea8Slzd0/c0n9cUiCeFyFx uvFA== X-Gm-Message-State: AOAM531Iu1h8Bgq87HUuByX+3KcOhmNrsIbMqUwUOjyxKKCB6E2/ULYg jG2YAZN3toJumii6otEmVppodw== X-Google-Smtp-Source: ABdhPJxqdLN3+Q998JZ21TkdXYNA2TAp5ZsNJKp92itwyJw77U0//L6Juwmwg+Sctub2Tq1Ea2zFNg== X-Received: by 2002:a05:6e02:5c2:: with SMTP id l2mr69658061ils.231.1609775127050; Mon, 04 Jan 2021 07:45:27 -0800 (PST) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id c6sm44127489iof.29.2021.01.04.07.45.25 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 04 Jan 2021 07:45:26 -0800 (PST) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id F0A968010E7; Mon, 4 Jan 2021 09:45:24 -0600 (CST) Date: Mon, 4 Jan 2021 09:45:24 -0600 From: Justin Pryzby To: Dean Rasheed Cc: Tomas Vondra , pgsql-hackers@postgresql.org Subject: Re: PoC/WIP: Extended statistics on expressions Message-ID: <20210104154524.GE9712@telsasoft.com> References: <6455e0ad-2a2e-bdb0-e1f8-fd4983d1c8aa@enterprisedb.com> <087086de-1384-8374-4efc-2e7915071d5c@enterprisedb.com> <4a2918bb-49b0-ccd5-3af7-f7795941a6ad@enterprisedb.com> <958870c8-65e0-31b1-4591-b0b10e807dd9@enterprisedb.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, Jan 04, 2021 at 03:34:08PM +0000, Dean Rasheed wrote: > * I'm not sure I understand the need for 0001. Wasn't there an earlier > version of this patch that just did it by re-populating the type > array, but which still had it as an array rather than turning it into > a list? Making it a list falsifies some of the comments and > function/variable name choices in that file. This part is from me. I can review the names if it's desired , but it'd be fine to fall back to the earlier patch. I thought a pglist was cleaner, but it's not needed. -- Justin