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 1kG8OS-0003dP-9b for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2020 22:16:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kG8OQ-0003Pe-UT for pgsql-hackers@arkaria.postgresql.org; Wed, 09 Sep 2020 22:16:42 +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 1kG8OQ-0003PX-Kc for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2020 22:16:42 +0000 Received: from mail-qt1-x841.google.com ([2607:f8b0:4864:20::841]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1kG8ON-0003cZ-Rh for pgsql-hackers@lists.postgresql.org; Wed, 09 Sep 2020 22:16:42 +0000 Received: by mail-qt1-x841.google.com with SMTP id e7so3271219qtj.11 for ; Wed, 09 Sep 2020 15:16:39 -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=uCJp6olJJSLYLdqyeZFcRmLusYDVJHtSJyBPbR9IPzE=; b=i4lHcROQxFzVT6Y8RxW9Fo6FngzAfO71QVIY9nLoEZvRrpKboCGgM2pzsvG/Q/Zugn mKR8661glGEmsV7ccAbJWwCPDFg1Z+mRONcmfWpMWyw5PVzs2lHFbzH3bz0J4HYtHEDf Opb27CF3I2UsQzt4ad7qvJYcVkgQXJ8Qw5N4M7FXUFUJ521bOIvx4pbRM/XgtIT33rha vM+fB0AYiQxUVBkEfJxTlHdpTK4LBzst1yPnbvMn9UziUDJlqeinITmjJ9ISMxs7vsl6 nmH5IbYSyQovSHya7QtLB3H9rkb2UBHvpCSzAXNxTR4E7SQtoa11URDaVbJbRX34GlFA mG/g== 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=uCJp6olJJSLYLdqyeZFcRmLusYDVJHtSJyBPbR9IPzE=; b=E4qtDMsLyn78AWTo4QqFvy7y4XEe+nMl2loPOvBIq5OII2XCWQ0v+/PUR922xUvcXg mOS5T5+DhyGgoM5qYkYchzWWD3tdsvbjiE8Wmg6zzA006OZXPUsmZNjfvQ8qb8+MfRGR 4bR5e/rSCyAr/ScZYwHflbm8BRNYQHU25qja3/qSCPb4L8nBi+iZALkePX/kyPi9027D O3WtOvyyz5nql5aAzCnHgybjqRVlG2fQ5XuyaeF0FMR7YsBqE3CNCGvUxJazcE8tF0rG 2iaA2b882a9Ps0dpGeFACaN6wdhLWrO6eXiregscf3iVMlrZRKTkTPUmB1oAkRSqFGJv 4VgQ== X-Gm-Message-State: AOAM532lX5v4qWdijeYu63v8aJQzG3PYpHg6yZ5oJGeVmsiAseQwIXzA 6CqmunXpwBvp9Yv9J/2VvQ9agw== X-Google-Smtp-Source: ABdhPJyHGtAZhC2EQQ1+b2/Tc/gAcsZ/KBC7MavrVOPjxaKWKKnlzqRJMXOI1ERYlUN9z/dwS7E3Wg== X-Received: by 2002:aed:3145:: with SMTP id 63mr5495999qtg.29.1599689797573; Wed, 09 Sep 2020 15:16:37 -0700 (PDT) Received: from perhan.alvh.no-ip.org ([190.95.19.47]) by smtp.gmail.com with ESMTPSA id k48sm4990895qtk.44.2020.09.09.15.16.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 15:16:37 -0700 (PDT) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 6970A2A1997; Wed, 9 Sep 2020 19:16:35 -0300 (-03) Date: Wed, 9 Sep 2020 19:16:35 -0300 From: Alvaro Herrera To: Justin Pryzby Cc: Georgios Kokolatos , pgsql-hackers@lists.postgresql.org, Tomas Vondra Subject: Re: v13: show extended stats target in \d Message-ID: <20200909221635.GA29948@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 I vote to use a semicolon instead of comma, and otherwise +1. > This revision only shows the stats target in verbose mode (slash dee plus). I don't think this interferes enough with other stuff to relegate it to the "plus" version, since it's not shown if default. Tomas -- this needs to go in pg13, right? -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services