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 1kGohG-0001Jk-FY for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Sep 2020 19:26:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kGohF-0006Px-Df for pgsql-hackers@arkaria.postgresql.org; Fri, 11 Sep 2020 19:26:57 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kGohF-0006O9-72 for pgsql-hackers@lists.postgresql.org; Fri, 11 Sep 2020 19:26:57 +0000 Received: from mail-qk1-x743.google.com ([2607:f8b0:4864:20::743]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kGoh8-0006e4-MC for pgsql-hackers@lists.postgresql.org; Fri, 11 Sep 2020 19:26:56 +0000 Received: by mail-qk1-x743.google.com with SMTP id o16so10969554qkj.10 for ; Fri, 11 Sep 2020 12:26:50 -0700 (PDT) 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:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=KmiU9eTvD5lR5Vo1njwUuO4/Wsf/FFtxVZAqzS9tXFo=; b=iW6SGIBetMJSlT14NgQrJ2HSQJfSiG9eaU0lITvBG0wbCBawuKppsp8DygL2jkLrF1 8xXvwRbZLCfJ0Vm1uDrvsp1YVtIOPFos05qyBPBKoaLl2ev6yDJtKpmjEe6kTU0/TvJ0 eoZh1tfp7Oo+okxKBYZKAc0mCiUmJxz+MAUQCDiqzsyWODjIAHeFBC14dlwzHM9iFUko 0L/ROv6+PzRTAoKv51MTmtpsobdFtuZ25uBCTVPPPwDuBsOyba3ql1VireZhi9H3Ys8w Z8dO4Pd9pSB2m+Hqw/Wbqm2Ws5oyQ8kAY1ql9ltlVezKJRRdRpsBBKc+hFrDIB7vgO+7 SYMw== 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:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=KmiU9eTvD5lR5Vo1njwUuO4/Wsf/FFtxVZAqzS9tXFo=; b=Sa5hpp85GTcG3Lc1NghaKhseauF7/y+zX/22J3uh3OIe+4pFNH6PTp6zGjWRZAKra+ Cu/kT4Rr6kd2d3mnjSLzsmz8lak9JGXXGXVR0Rz0eMEOvDyCS8yCC71qGbQLqK+xCv0o u7B01NQLp6VWYOlVkIjvOtpbfyXZkgZJkT9qZx8A9eZqxkC+btPx/zSmSF2CrTKCJYtF ss33tR3i6zHSkgjQvvQGHOj4P18jhrOPBDSRxS6XYY0FcwGfZr34/6t6bm9qTgRYoAxH UbXI7wn+djUXqe21mCYi53pUMbOmaMfbtHO3EALv6aiwlDln3kWGn1oxGRmuQWUlh+8b hBYw== X-Gm-Message-State: AOAM5319wgfBF3QtB5DkzSB1Nzdn2rmyOQ5ESldpZRq0PHviuDIeaQVL 0nsd98H54I/TI5Tm0mMqDlbvvq0yuIAc4FJOGcdYFE7T/kqIdXW+Eujz5ixfe1O8N8FOJ83ngST O4YeK3yPpDCCJKJqzmgDxBTYG49Pv3sdPgtKYmDunv4nG+LquI3SqRKB7fGtDkF/Bp/9A+F47r+ 8TEy/pBMPeMiMtz0sm X-Google-Smtp-Source: ABdhPJwzxg0UhfLhA/AqJCRXOtrKUTuxLDhFCtnRnh931jH5ZfM2uA+tlr/v39mf9mJ+JK+FDMkEdg== X-Received: by 2002:a37:6283:: with SMTP id w125mr2941958qkb.411.1599852409407; Fri, 11 Sep 2020 12:26:49 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id y18sm3676045qkf.93.2020.09.11.12.26.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 11 Sep 2020 12:26:48 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 48AEE2A1506; Fri, 11 Sep 2020 16:26:47 -0300 (-03) Date: Fri, 11 Sep 2020 16:26:47 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Georgios Kokolatos , pgsql-hackers@lists.postgresql.org Subject: Re: v13: show extended stats target in \d Message-ID: <20200911192647.GA11512@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200909213627.GW18552@telsasoft.com> User-Agent: Mutt/1.10.1 (2018-07-13) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2020-Sep-09, Justin Pryzby wrote: > As for the discussion about a separator, I think maybe a comma is enough. I > doubt anyone is going to think that you can get a valid command by prefixing > this by "CREATE STATISTICS". Actually, it didn't even occur to me it was valid > command without the stats target - after all, that's not true of indexes. > > + "public"."ab1_a_b_stats" (ndistinct, dependencies, mcv) ON a, b FROM ab1, STATISTICS 0 > > This revision only shows the stats target in verbose mode (slash dee plus). I put it back to show in non-verbose mode; after all it's only in the infrequent case that it's set to anything at all, and also it doesn't take up another column, as is the case with per-column stats targets. I changed the separator from comma to semicolon, because it seems a little less ambiguous. It's easy to change if people hate that. ... and pushed. Thanks. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services