Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wD3GC-002YZL-35 for pgsql-docs@arkaria.postgresql.org; Wed, 15 Apr 2026 16:38:41 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wD3GC-000vH9-07 for pgsql-docs@arkaria.postgresql.org; Wed, 15 Apr 2026 16:38:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wD3GB-000vH0-2U for pgsql-docs@lists.postgresql.org; Wed, 15 Apr 2026 16:38:39 +0000 Received: from mail-oo1-xc2a.google.com ([2607:f8b0:4864:20::c2a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wD3G9-00000001B3D-2cNd for pgsql-docs@lists.postgresql.org; Wed, 15 Apr 2026 16:38:38 +0000 Received: by mail-oo1-xc2a.google.com with SMTP id 006d021491bc7-68a5e7b5b52so2932037eaf.0 for ; Wed, 15 Apr 2026 09:38:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1776271117; cv=none; d=google.com; s=arc-20240605; b=XQd0/Pq4TaJXxrHpAwqI8IKlVPDySeEhmQ/QXXNgJyvQnO5Z+g/TxKQb2t0Yl6k1To J9RYGrMfxvSkdVnA3Kfz2qYiymmY6gjZJeR7SSHjtc2TGG3gcYg4iG3GpUbVhawLb9j7 khPGMQV/hmISdX6goCFgvlhrNeJZB+QXg50z1ICT5mOnondGU2MUEx5exjPEmDZPvC44 qfr+3+CpXuowrLItRts199GnIvQ6ctOfqQqkWFclWiUbPu7O523sqk/XMUg+ln/ICyNp +FwlVxCQhESnpmBmNvcL4HwKCgbsx9+rHyox62IO9O8b0o6FyEvDVuCFZAPbdPu2h/Zo yxGw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=v0HhlyBPiFQw/5IApAABr/zcAXhoJgekN1cKBKM1YCI=; fh=rh5XFjuLi2fXhBOUtHShUWDf9mBFb8GpxZ5rMHUzvyg=; b=ihpIGkEqvL/dccHCZBZP2jAejnIbOW4eP1FlPKOL9CWZNtainOm46UGcZoHWhQ78iY a43hf+WbBT8U2/HH1ek1yuWcHDfBBDq9s3JDa3eDXjUSzM8d8yC4TFiRFciI+eh/JdVC /uJLJJrCJIL/eDdWH2ek43PduDBBryjm2txHG+3LZIJBCt6GgEgmBHgZJMXBZ6Jj7/C7 lUgn3a2FbE6uFRyYinMtjix0s0CgYjpQtNAwSiuvf/syp51vNrR4Z1Y9ljs5hwg/Gu4+ QtC0hhY6tBq1bFVqa/CDaXbIy+QTC/dImGdw9pPWbT9kbqnPFlpEdS4Dovi5mj1Gb/Z9 Jq3A==; darn=lists.postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pganalyze.com; s=google; t=1776271117; x=1776875917; darn=lists.postgresql.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=v0HhlyBPiFQw/5IApAABr/zcAXhoJgekN1cKBKM1YCI=; b=JYp8K+YVqeQ8sn7qg79XYWJbuxjSOlsxMww281zI41OS3v1CvUy+mroF0f+LEB6NjH 9EAAB7lRrXhGimilDhQlY9VK2eBhVfXBalT6EbpfT6VNFpzEd/AZKJ5YfMGVmSDhaVLt q4uRWXUlaRz4bJMZRMNuBev5gWUuACVdXEVw/Wpmj8LTWi+RJGfosZ7l/bT7zNg7V8VE pZfQGQjwc4eTdEuj1GU2AtW43Lflq48zbB2NPgkAY3RLhZIVJWha03MYtCEIgo6wQBjN F26c7rccK38tFyblj+m7yLFoJoE+t839MMegtZjfQGE+o+FsnEQUdiOaaPQsxEBYyZh8 L4pQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1776271117; x=1776875917; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-gg:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=v0HhlyBPiFQw/5IApAABr/zcAXhoJgekN1cKBKM1YCI=; b=OeDtqPnUrdg5OvD8/RjudT/iOd6Koj+gIu1ufSENTcBHVSGJXxATiZgGasbiPl6PKi 3oyIcA+402OAKiMz+t+WO3hq8HK9jSHZt0wCGRxYiwzMZ4lLObuOD3GLrIO4N2f/zLM3 obZpTp8wWaui4z+GqDj9zwqbSMX6UKfc7l2KIkVzUeb1ZtMENUj0J38Vcx4sfeLxwEsQ 6sL20EDt6eP3GSTh1DODb/abDOX57ckyaNbJalvkfQg94d15QvgVHjJ+sfwguVHCEDj1 7KZhJ2kmYARKKM8JEVfzzcx27FRRCsiRx06OUEDwSiOyhj8Lfp1hi5zDQYVaV/1TvDec eAqQ== X-Forwarded-Encrypted: i=1; AFNElJ9VrPuAvV5M/2ITe7AR2D5DYk1DRDAMXtXrS9yTUDemXrIyxOp4hvAua5MVXwROv2UamAlAUWk5eG6R@lists.postgresql.org X-Gm-Message-State: AOJu0YxvrVcKvydeepxxfdkNzatKxy9gkRt1rW/hDLsbgwCbPes/JH/i Op6bn8IS2Yi5GIqCopoaF3RXb75ksKeDNeEiUJQdSaZKKqg9mmprP+4NXUP/ZnmLxKq8KqWwm56 WjxqABFRolkeoD0uSwyzcwlKU4GWb9gZrtz5kQ4OQIiJcW8F6krdnsYU= X-Gm-Gg: AeBDieusOe72eAFzENg6h+nT/xqbzcAJ7trXn1IhEpl1tFIA3F0vKQyurifo7DJAjSm 5yqVh5/87D8v2Opw4tjV+5yI4p1ZYLIH/13yZ9fC3e5C1YdZstAnvQA5vY0yibIeUD8OwEzMpBy smbH/p8tfPCZ1yr9rc9S9o1IpAlMw7XAAnfdoRccvWZjHGii8dp89GzzeZKrcqmCVxbb1rVUJy6 xDfI+xZCjTqgdgRxuPQgrzHkA7hfaFLUtEXMDJgTPXrUzPU51xjPQV3uoue+zOESdZu+xX1unKh JBneev4= X-Received: by 2002:a05:6820:1789:b0:67e:2a62:35ba with SMTP id 006d021491bc7-69422d3b4a5mr129148eaf.15.1776271117073; Wed, 15 Apr 2026 09:38:37 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Maciek Sakrejda Date: Wed, 15 Apr 2026 09:38:26 -0700 X-Gm-Features: AQROBzAWezbNL27GCJ_cvxmZm6k-EK-rTi9WKCj9shqbd5P8hP6Wp3NCJBlJ-0w Message-ID: Subject: Re: doc: Clarify ANALYZE VERBOSE output To: "David G. Johnston" Cc: maciek@sakrejda.org, Shinya Kato , Fujii Masao , pgsql-docs@lists.postgresql.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Apr 13, 2026 at 3:29=E2=80=AFPM David G. Johnston wrote: >> On Tue, Apr 7, 2026 at 6:57=E2=80=AFPM Shinya Kato wrote: >> > I believe the current "Outputs" section is intentionally kept simple t= o minimize maintenance overhead. While expanding it might be a worthwhile f= ollow-up, it probably deserves its own dedicated discussion. >> >> +1, listing output details is signing up for busywork. > > > Given how expansive and thorough our documentation is, and the fact this = is user-facing output, I'm not seeing why this gets a pass on the documenta= tion requirement. That said, I concur this patch needn't be responsible fo= r dealing with that - I'm not even sure whether trying to do that on the va= cuum/analyze pages is even the correct choice since at least some of what i= s output is object-specific and not generic to vacuum itself. Though stuff= like timings are. Even if we want to leave ourselves the "it's undocument= ed so it can be changed at will" clause we can simply write that in. It's not getting "a pass". Ultimately it's a judgment call: maintenance cost versus existing conventions (how we document command output in other places), utility to the user of having detailed docs on this, and how easy it is to check the actual output by just running the command. I think on balance it's not worth doing here, and "it's undocumented so it can be changed at will" is equivalent to saying nothing (so we might as well say nothing). >> maybe something >> along these lines: >> >> "Prints detailed stats at INFO level for each table >> as it is processed." >> > > I really don't like the word "Print" here. What the client decides to do= with the INFO message is up to them - the interface to document for the se= rver is simply sending the message and its details. Fair enough, though we do use "print" as a synonym for "log" all over the place. "Emit" was suggested down-thread; I think that's also a good choice. Your "Sends" below also works. > I was apparently mistaken about this info showing in the server log file = though. > > So that leaves me with suggesting: > > "Enables the sending of a detailed INFO message to the client after each = table is processed." I'd simplify it to just "Sends a detailed INFO message to the client after each table is processed.= " Technically the option itself is not doing the sending, but the relationship of the option to the behavior is obvious, and I don't think complicating the language to reflect the actual mechanism adds anything. Thanks, Maciek