Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8TNZ-0002OY-MR for pgsql-committers@arkaria.postgresql.org; Fri, 05 Oct 2018 16:55:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1g8TNX-0002cn-JX for pgsql-committers@arkaria.postgresql.org; Fri, 05 Oct 2018 16:55:03 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8TNV-0002cU-RY for pgsql-committers@lists.postgresql.org; Fri, 05 Oct 2018 16:55:03 +0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8TNK-0001WN-V6 for pgsql-committers@postgresql.org; Fri, 05 Oct 2018 16:55:01 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id F40EE21F1B; Fri, 5 Oct 2018 12:54:48 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Fri, 05 Oct 2018 12:54:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=anarazel.de; h= date:from:to:cc:subject:message-id:references:mime-version :content-type:in-reply-to; s=fm2; bh=EIvje6bfHu2Y3bz3MlC1Oe8dhUy pwyioCY9fOBY2EaY=; b=Xjqa0rrEPVuWBVbgzVNz2aVwEdN1j5SZK+8y2h9poJZ kbHTdHY0mVZULO84VkAE0qyCyJ7Lw7IOrcmOz+j+IA4Ic4ac0JDdjdNSSXuwZB+b dlLFvLfZ//enk3R+94Fhd/GzfLOVTSqNGq440IATciNEYn2ovXr4IJEBV6teTmPW P9HBEDLwv9UJKY3tFQ5ber7KOHcYLpIoIJwbRh3+Lj09w0cn31i7N0WEWu0SJO43 rpsz9tszacUTatz4s9UWK4oIJXiCzZ1elLZ2SllmqpzHDTAo/Ok+hqaO9/eWrr74 Ih/FbpaAP3LbgdAq3tOgSF9LDOX5AY/uYftmYYn3TAw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=EIvje6 bfHu2Y3bz3MlC1Oe8dhUypwyioCY9fOBY2EaY=; b=FxfUGGTM/P7PUwRGe585Sv zAsg35Gp3d2Ad9albLxS9kMhDFXSWZL4tuAyai46kAK2YwNrtRxpw0sqE01+1iby PIh/SAy4nGxOuKgUtDVrozvtABEl490RHh1zf2L606wvsD2CfqE0NMgKLfwxW4qa FsonFUdPhgeP7ZXJmse4qxeODhRsfR+6M8t7a113d9pXCD/x69b3BJqg0oqJJgO4 HKw2+n7LMfSnjQytNsB73/LQ+IfM7kTiTT5SUaQz8hhjecEYHr1DhVOi/0PdADAd 3BBKF9JgZWGncUvAt02b4g1BHTnjNgK+C7OupSrydMrd/CFlQq0Pa2md6jvDMQeQ == X-ME-Sender: X-ME-Proxy: Received: from intern.anarazel.de (c-98-210-140-171.hsd1.ca.comcast.net [98.210.140.171]) by mail.messagingengine.com (Postfix) with ESMTPA id 38892E49EB; Fri, 5 Oct 2018 12:54:48 -0400 (EDT) Date: Fri, 5 Oct 2018 09:54:47 -0700 From: Andres Freund To: David Steele Cc: pgsql-committers@postgresql.org Subject: Re: pgsql: Make WAL segment size configurable at initdb time. Message-ID: <20181005165447.zyzglieznybyi7wu@alap3.anarazel.de> References: <68ea97d6-2ed9-f339-e57d-ab3a33caf3b1@pgmasters.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <68ea97d6-2ed9-f339-e57d-ab3a33caf3b1@pgmasters.net> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 2018-09-20 11:48:08 -0400, David Steele wrote: > Hi Andres, > > On 9/20/17 1:04 AM, Andres Freund wrote: > > > > Make WAL segment size configurable at initdb time. > > <...> > > > https://git.postgresql.org/pg/commitdiff/fc49e24fa69a15efacd5b8958115ed9c43c48f9a > It appears that fc49e24f missed updating the runtime config presets > documentation. > > Patch attached. > > Regards, > -- > -David > david@pgmasters.net > diff --git a/doc/src/sgml/config.sgml b/doc/src/sgml/config.sgml > index e1073ac6d3..3bfd172441 100644 > --- a/doc/src/sgml/config.sgml > +++ b/doc/src/sgml/config.sgml > @@ -8440,10 +8440,8 @@ dynamic_library_path = 'C:\tools\postgresql;H:\my_project\lib;$libdir' > > > > - Reports the number of blocks (pages) in a WAL segment file. > - The total size of a WAL segment file in bytes is equal to > - wal_segment_size multiplied by wal_block_size; > - by default this is 16MB. See for > + Reports the size of write ahead log segments. > + The default value is 16MB. See for > more information. > > Why is this actually more correct? You mean because we have a conversion that does the mb conversion at display time? Greetings, Andres Freund