Re: Standardize spelling of "power of two"

From: Daniel Gustafsson <daniel(at)yesql(dot)se>
To: Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com>
Cc: pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: Standardize spelling of "power of two"
Date: 2023-08-29 09:26:13
Message-ID: A0EC25F1-0C87-4858-B77F-A594BBF32CE0@yesql.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> On 29 Aug 2023, at 10:56, Kyotaro Horiguchi <horikyota(dot)ntt(at)gmail(dot)com> wrote:

> pg_resetwal and initdb has an error message like this:
>
> msgid "argument of --wal-segsize must be a power of 2 between 1 and 1024"
>
> In other parts in the tree, however, we spell it as "power of two". I
> think it would make sense to standardize the spelling for
> consistency. See the attached.

Agreed. While we have numerous "power of 2" these were the only ones in
translated user-facing messages, so I've pushed this to master (it didn't seem
worth disrupting translations for 16 as we are so close to wrapping it, if
others disagree I can backpatch).

--
Daniel Gustafsson

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message jian he 2023-08-29 09:29:43 Re: Support prepared statement invalidation when result types change
Previous Message Etsuro Fujita 2023-08-29 09:08:04 Re: Missing comments/docs about custom scan path