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 1mqf9M-0007iZ-4q for pgsql-docs@arkaria.postgresql.org; Fri, 26 Nov 2021 17:36:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mqf9K-0002wX-59 for pgsql-docs@arkaria.postgresql.org; Fri, 26 Nov 2021 17:36:38 +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 1mqf9J-0002wO-9s for pgsql-docs@lists.postgresql.org; Fri, 26 Nov 2021 17:36:37 +0000 Received: from wout5-smtp.messagingengine.com ([64.147.123.21]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mqf9F-0008Bq-Bj for pgsql-docs@lists.postgresql.org; Fri, 26 Nov 2021 17:36:36 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id D8B2032009F8; Fri, 26 Nov 2021 12:36:29 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Fri, 26 Nov 2021 12:36:30 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:subject:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=e5MqumA+SlsgmztF2uHJQM1lZZmgF+3cHGfEPsAcUfo=; b=DZcNHZII /BMhgU7ZbcKJ4Wp7aqhS3YGc0jT2mC6Z8Oo0eitQSpF/qTXLdN5TC9umU2LvwcZR cid8uhAozbyrNI00pEZVtqefHw+AgYizTvvjctRNv7A4g1CmbNWLgcj81O4bireR 2bZqGg5unmVGspTvc3Q9gi8Uj5QxPdHvk1HWDBtQ68dQAFlhUhU05XoqxvI0U7V1 930ydgpHic91HYi+FPjc9QreImZfVIuSYyzrmkhQfGAbBLOumVTRvjNKvwQKD+1Z qUJXecV+IRtEdsxlQpAxtxF7tX+K31QVmzXsjsYPvNE9K2pJHRiDFY6niVxMTH/E keZ4//Gn+GrrSg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrhedvgddutddtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpeffhffvuffkgggtugfgjgesthekre dttddtjeenucfhrhhomheptehlvhgrrhhoucfjvghrrhgvrhgruceorghlvhhhvghrrhgv segrlhhvhhdrnhhoqdhiphdrohhrgheqnecuggftrfgrthhtvghrnhepudejveejffejve duudetvdekieeuiedtvdeileefkeevjedufeeguedvjefhueelnecuffhomhgrihhnpegv nhhtvghrphhrihhsvggusgdrtghomhenucevlhhushhtvghrufhiiigvpedtnecurfgrrh grmhepmhgrihhlfhhrohhmpegrlhhvhhgvrhhrvgesrghlvhhhrdhnohdqihhprdhorhhg X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 26 Nov 2021 12:36:28 -0500 (EST) Received: by perhan.alvh.no-ip.org (Postfix, from userid 1000) id 5E0CF2A07D2; Fri, 26 Nov 2021 14:36:25 -0300 (-03) Date: Fri, 26 Nov 2021 14:36:25 -0300 From: Alvaro Herrera To: Kyotaro Horiguchi Cc: b1000101@pm.me, pgsql-docs@lists.postgresql.org Subject: Re: max_slot_wal_keep_size unit is not specified Message-ID: <202111261736.dkjpdm2suijl@alvherre.pgsql> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20211126.160309.2183888631128649991.horikyota.ntt@gmail.com> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 2021-Nov-26, Kyotaro Horiguchi wrote: > Regarding the proposed description, we have never explained how the > same kind of values specified in megabytes is converted into internal > units. If we add that explanation there, we might want the same for > max_wal_size, min_wal_size and wal_keep_size. True. Since this was for backpatch, it seemed best to copy the existing entries instead of changing them. > The same section starts with the following sentences. > > > Specify the maximum size of WAL files > > that replication > > slots are allowed to retain in the pg_wal > > directory at checkpoint time. > > FWIW I thought (or intended) that "the maximum size of WAL files that > slots are *allowed to retain*" connotes the same to the sentences > cited above. Right you are -- that addition was redundant, so I pushed without that. > Premising "16 MB one way or the other don't change things much", I'm > not sure we really need to be particular about a few megabites > difference especially only for this specific variable. Yeah. -- Álvaro Herrera Valdivia, Chile — https://www.EnterpriseDB.com/