Re: max_slot_wal_keep_size unit is not specified

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: b1000101(at)pm(dot)me, pgsql-docs(at)lists(dot)postgresql(dot)org
Subject: Re: max_slot_wal_keep_size unit is not specified
Date: 2021-11-26 17:36:25
Message-ID: 202111261736.dkjpdm2suijl@alvherre.pgsql
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

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 <link linkend="streaming-replication-slots">replication
> > slots</link> are allowed to retain in the <filename>pg_wal</filename>
> > 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/

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Alvaro Herrera 2021-11-26 17:39:18 Re: ALTER TABLE ... SET DATA TYPE removes statistics
Previous Message Kyotaro Horiguchi 2021-11-26 07:03:09 Re: max_slot_wal_keep_size unit is not specified