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.94.2) (envelope-from ) id 1ubYSl-002Gj7-Fr for pgsql-docs@arkaria.postgresql.org; Tue, 15 Jul 2025 05:44:23 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ubYSj-00H8gS-Ek for pgsql-docs@arkaria.postgresql.org; Tue, 15 Jul 2025 05:44:22 +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.94.2) (envelope-from ) id 1ubYSj-00H8g0-3i for pgsql-docs@lists.postgresql.org; Tue, 15 Jul 2025 05:44:21 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ubYSh-007M7M-1o for pgsql-docs@lists.postgresql.org; Tue, 15 Jul 2025 05:44:20 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-455b00339c8so24872515e9.3 for ; Mon, 14 Jul 2025 22:44:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1752558258; x=1753163058; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=ozcuODc9eqLWT6UvY0D8WTex6yAMG9duRK8tSejzSOg=; b=sUXBMuK4MLbGT8d/ZeXZOa7YjoCOZle/VWTBdMpaPnUwy81JPlaDo26tfzvMa2AFnk f+qWTag2DiivvNlw2zZENZiDiTlAsfSDhG4XPote2CFVFwfJd+982UjEvy5t/Lh/72YV zDJJ9kCgWAEvM86tdz90uCtoZjqfLLBNZRvN9yqUxmM5cut4cDs8BhfXSd888sLOM5Rr HV8set+BTcxZu+ARvwAnEjvhgo2KgxlruZz1CoBFPnlmBVX4F1G5/K5wNzXSmZG7ABf0 CmD5Y4JVZhOy6Z0TRIX2Q41IPxWK5rmGdgl9cBSjEsc7nyESKb7F+su+pVCPtaCJYk+/ vBMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1752558258; x=1753163058; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ozcuODc9eqLWT6UvY0D8WTex6yAMG9duRK8tSejzSOg=; b=AmHpHQILEfvN1rCU5QS5gtc0ZP11dA3WLoQGqeuRbLzmFq+eF8ZHjRP2qx4txA7E/x Khkam8WmB4Hq3As+9SWZlDPnYFJV0+T7A0xKdZ603Q3AFPAZQ31W8whgKmufo+cSQA4c EuiEBEaiTJ3DSfPoWhOyH5h0wVD99XsCyTUsisy11ifhBoD+qEzAwfT3EL2fF/1bZzGh xzPqQY/SlhZpdOaKN7siceY6QRfTFNK+h52WzW3oxUixxiKYipYWrprWu1ZW3PZH6A4h ldQ8di+Y+CnCzlOGK5PuXwpYcqej/5g5kyh+WjZU2Ca5pYdk/GeCRenRBJojgYqTUQk7 f7nw== X-Forwarded-Encrypted: i=1; AJvYcCVxKBS0sHPb85KGFgydCbUnuf9RM/tzqv6AVjcEuRLyILbt4XOfiRXxOoulFlxrArpnNhBzqe4oPy2l@lists.postgresql.org X-Gm-Message-State: AOJu0YwjYlHNqYy7G/2IM6hId771FJo0uBuwAQqTK7/Yxkk5iDJry4yh 7fBZM/9YMmwWC9tRMUhVWzJBYvde+pDjv4I8xPfKwDrVhQfcV2J6O7vCpVXF9KQ4W7E= X-Gm-Gg: ASbGncunqe/WONXZJrAuTOAlrsEd/Mc2iFovDQr1xiGvtzGGczsJm2KHsiO7s2SZFV+ BYxjE0HDDZtl8RFZs6sH1iYTZQIEe+Cs3eKNBkhWRSVkfx3BMInhyzSRlxuH9ZP4d7Xm9maz1NB k+VE7Te2AtSQijNLts9XA/SnI8qMezuYOLSRH17Hwa6qgO/KQoZyUJceQv9C/gVbaDnQk1A73BX wQHP3iIzkauk/9It4oae+bf670sCOxJwL0+b9+/7Oh5xt9pxKa/j6ih1z930zN98dRVzkqLlO5X mIRC1KS1OJoPV20QFE0WmYJyzi4Zh7I86V1P+xxXEn0mxyqNc4B7HzLkkvMsm5JM4EE69B6eLOs KTi204aQB+wUDd681uU+8bU/29VVcXzpX6bYmcT+baKS6erZnkd+B X-Google-Smtp-Source: AGHT+IF4MxglQzn61LLZ6Uk3nYSBhFam0TbjSWy59GGrhaDGpvjpDvDdDV+V6GIDq0dN6HUBjaUpbw== X-Received: by 2002:a05:600c:1c10:b0:456:1e5a:8879 with SMTP id 5b1f17b1804b1-4561e5a903dmr46372265e9.9.1752558258037; Mon, 14 Jul 2025 22:44:18 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:6670:8653:2e94:b4f9:98f9]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-45617f18d99sm58768545e9.8.2025.07.14.22.44.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Jul 2025 22:44:17 -0700 (PDT) Message-ID: <213ce4a8cc0e481229bdf2198f5c44285eb3e53a.camel@cybertec.at> Subject: Re: Clarify VACUUM FULL exclusion in total_vacuum_time docs From: Laurenz Albe To: Fujii Masao , Robert Treat Cc: "David G. Johnston" , "pgsql-docs@lists.postgresql.org" Date: Tue, 15 Jul 2025 07:44:17 +0200 In-Reply-To: References: <2ac375d1-591b-4f1b-a2af-f24335567866@oss.nttdata.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2025-07-15 at 01:51 +0900, Fujii Masao wrote: >=20 > On 2025/06/18 6:53, Robert Treat wrote: > > I think the more cases where you document this behavior (and I do like > > the idea of documenting it for total_vacuum_time), the more one is > > likely to think that places where it is not documented operate > > differently. To that end, I think documenting it for > > n_ins_since_vacuum as well is a good idea, but I don't feel strongly > > that it needs to be backpatched; the old documentation wasn't wrong > > per se, rather this is a documentation improvement as a result of new > > development. >=20 > Agreed. The attached patch updates the docs to clarify that both > total_vacuum_time and n_ins_since_vacuum exclude VACUUM FULL. >=20 > Unless there are any objections, I'll commit this to master and > back-patch it to v18 only. I think the patch is good. One question for me is whether we should use "VACUUM (FULL)" rather than "VACUUM FULL". On the one hand, the documentation (and most users) still use the old syntax without parentheses almost everywhere. On the other hand, reading the VACUUM reference page, I get the feeling that the new syntax with parentheses should be favored. After all, the old syntax doesn't support any of the recently added options and restricts the option order. So perhaps we should start propagating the parentheses more, and the documentation is the perfect place to do that. Yours, Laurenz Albe