From: Andres Freund <andres@anarazel.de>
To: David Steele <david@pgmasters.net>
Cc: pgsql-committers@postgresql.org
Subject: Re: pgsql: Make WAL segment size configurable at initdb time.
Date: Fri, 5 Oct 2018 09:54:47 -0700
Message-ID: <20181005165447.zyzglieznybyi7wu@alap3.anarazel.de> (raw)
In-Reply-To: <68ea97d6-2ed9-f339-e57d-ab3a33caf3b1@pgmasters.net>
References: <E1duXBW-0003QB-4d@gemulon.postgresql.org>
<68ea97d6-2ed9-f339-e57d-ab3a33caf3b1@pgmasters.net>
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'
> </term>
> <listitem>
> <para>
> - Reports the number of blocks (pages) in a WAL segment file.
> - The total size of a WAL segment file in bytes is equal to
> - <varname>wal_segment_size</varname> multiplied by <varname>wal_block_size</varname>;
> - by default this is 16MB. See <xref linkend="wal-configuration"/> for
> + Reports the size of write ahead log segments.
> + The default value is 16MB. See <xref linkend="wal-configuration"/> for
> more information.
> </para>
> </listitem>
Why is this actually more correct? You mean because we have a conversion
that does the mb conversion at display time?
Greetings,
Andres Freund
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: andres@anarazel.de, david@pgmasters.net
Subject: Re: pgsql: Make WAL segment size configurable at initdb time.
In-Reply-To: <20181005165447.zyzglieznybyi7wu@alap3.anarazel.de>
References: <E1duXBW-0003QB-4d@gemulon.postgresql.org> <68ea97d6-2ed9-f339-e57d-ab3a33caf3b1@pgmasters.net> <20181005165447.zyzglieznybyi7wu@alap3.anarazel.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox