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 1tWNz9-00GE0Q-JY for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jan 2025 23:00:12 +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 1tWNz8-003fJW-Mu for pgsql-hackers@arkaria.postgresql.org; Fri, 10 Jan 2025 23:00:10 +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 1tWNz8-003fIi-7z for pgsql-hackers@lists.postgresql.org; Fri, 10 Jan 2025 23:00:10 +0000 Received: from smtp.outgoing.loopia.se ([93.188.3.37]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tWNz4-000wsa-0x for pgsql-hackers@postgresql.org; Fri, 10 Jan 2025 23:00:08 +0000 Received: from s807.loopia.se (localhost [127.0.0.1]) by s807.loopia.se (Postfix) with ESMTP id 01B7F211E57 for ; Sat, 11 Jan 2025 00:00:03 +0100 (CET) Received: from s980.loopia.se (unknown [172.22.191.6]) by s807.loopia.se (Postfix) with ESMTP id E52EF213399; Sat, 11 Jan 2025 00:00:02 +0100 (CET) Received: from s473.loopia.se (unknown [172.22.191.6]) by s980.loopia.se (Postfix) with ESMTP id E238E2201580; Sat, 11 Jan 2025 00:00:02 +0100 (CET) X-Virus-Scanned: amavisd-new at amavis.loopia.se X-Spam-Flag: NO X-Spam-Score: -1.2 X-Spam-Level: X-Spam-Status: No, score=-1.2 tagged_above=-999 required=6.2 tests=[ALL_TRUSTED=-1, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1] autolearn=disabled Authentication-Results: s473.loopia.se (amavisd-new); dkim=pass (2048-bit key) header.d=yesql.se Received: from s980.loopia.se ([172.22.191.5]) by s473.loopia.se (s473.loopia.se [172.22.190.13]) (amavisd-new, port 10024) with LMTP id TpPnB127pAOR; Sat, 11 Jan 2025 00:00:02 +0100 (CET) X-Loopia-Auth: user X-Loopia-User: daniel@yesql.se X-Loopia-Originating-IP: 89.255.232.193 Received: from smtpclient.apple (customer-89-255-232-193.stosn.net [89.255.232.193]) (Authenticated sender: daniel@yesql.se) by s980.loopia.se (Postfix) with ESMTPSA id 6519022015AA; Sat, 11 Jan 2025 00:00:02 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yesql.se; s=loopiadkim1707475645; t=1736550002; bh=mGu045E2iciLst/6njppFpb/Iw7rglN4NnslQ6hlwcQ=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=gOP2OrN86aNs6TenfrYj/zuaHP4VuDTnQu5qbpIO/U+eQ+QVPXymRUjC6nOL6nF5Q /miRHP4uXvAtFfUIarFBpZRu5tWIjlMKIIqZSnL8OaA4Tn18ijxvLkAtsBQZRkFfyY Cv4UyVRbOA0PLBPesY024FR2HRlSwT5F5wMHKQFEq+CuDt9tV0T5bNixKs6MR44q/4 Mjh6eTILed+fPSvgtK695pm4UmScEsUyLGg/33I0zMGTQUl65iuJoDbgRjZRHcP27U pDnUnKwjndRCmDyB14eoGHCAxZGy59zJUbJX3YLw7XAQH77CvArCeAOjdcCUCL1MRE w9hi3R1Sj1pQg== Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51.11.1\)) Subject: Re: Moving the vacuum GUCs' docs out of the Client Connection Defaults section From: Daniel Gustafsson In-Reply-To: Date: Fri, 10 Jan 2025 23:59:51 +0100 Cc: Peter Eisentraut , Tom Lane , PostgreSQL Hackers , "Bossart, Nathan" Content-Transfer-Encoding: quoted-printable Message-Id: <77916C10-F124-4652-B842-92508E1696B6@yesql.se> References: <1373018.1736213217@sss.pgh.pa.us> <68a4435c-3990-419d-a68a-b33a7f9185ab@eisentraut.org> To: Melanie Plageman X-Mailer: Apple Mail (2.3776.700.51.11.1) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On 10 Jan 2025, at 23:09, Melanie Plageman = wrote: >=20 > On Thu, Jan 9, 2025 at 5:05=E2=80=AFPM Daniel Gustafsson = wrote: >>=20 >> I think this is a really good restructuring which will make life = easier for our >> users. Some of the comments below are on wording which wasn't = introduced in >> this patch, but which I hadn't thought about before, so feel free to = ignore >> those comments. >>=20 >> + >> + Freezing >> + >> + >> Trying to read this as a new user, I think it would be good to start = this >> subsection with a sentence describing what freezing actually is. = Vacuum is >> hard enough for users as it is =3D) >=20 > I've taken a stab at improving this. Let me know if you think it = works. I like what you added, it's IMO the right level of detail here. >> + default value is one. >> Grepping around indicates that we typically use the numeric value = rather than >> writing it in text, and the next settting down has "default value is = 2". For >> consistency I would change that to "1" instead of "one". >=20 > I think this is a reasonable cleanup to lump in with the rest of this > commit. I have taken the liberty of also adding a tag and > then updating the other places in the proposed "Vacuuming" subsection > where a literal default value is specified without the tag. LGTM. We're not entirely consistent with how we mark up the default = value, but I think moving towards using value whenever we are = changing things there anyways is the right level of cleanup. >> + can be set to fractional-millisecond values, such delays = may not be >> + measured accurately on older platforms. On such platforms, >> This sentence seems quite vague and hard to act on for users, what = qualifies as >> an "older platform" by the time v18 rolls around (this was added in = v12). I'm >> sure there are such platforms in existence that postgres 18 will run = on, but >> are we helping users with ambiguity? >=20 > While I agree that what counted as older hardware in 2019 may no > longer be around at all, I am more hesitant to update this in the same > commit as a bunch of other cut-and-pastes. Someone at some point > decided this was important to point out, and I don't have sufficient > evidence that it no longer makes sense. And if I did, I'd probably > want to update this part of the docs in a dedicated commit. To be fair I didn't really expect this to be changed as part of this = (and I should written that in my email), but it stood out when reading so = wanted to point it out. No objections to leaving it as is as part of this work. + Specifies the cutoff age (in multixacts) that = VACUUM I wish we had a glossary entry for multixact we could link to here. = But, that's not really the responsibility of this patch to fix, just = something that came to mind when reading the resulting page. +1 on going ahead with this version, there are still improvements we can = make to the vacuum config docs but that shouldn't stand in the way of a reorg = patch which improves overall presentation structure. -- Daniel Gustafsson