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 1mdkRs-0001ub-8H for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Oct 2021 02:38:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1mdkRq-0005to-P9 for pgsql-hackers@arkaria.postgresql.org; Fri, 22 Oct 2021 02:38:22 +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 1mdkRq-0005te-CR for pgsql-hackers@lists.postgresql.org; Fri, 22 Oct 2021 02:38:22 +0000 Received: from mail-il1-x132.google.com ([2607:f8b0:4864:20::132]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1mdkRn-0002qH-E1 for pgsql-hackers@postgresql.org; Fri, 22 Oct 2021 02:38:21 +0000 Received: by mail-il1-x132.google.com with SMTP id k3so2795251ilu.2 for ; Thu, 21 Oct 2021 19:38:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telsasoft-com.20210112.gappssmtp.com; s=20210112; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Xi6ZM2UdvMTFNRZSftz9EkLiSSQzLV2C3RwQEACGRLc=; b=p2YO6LpYwoHpAVj6vavKkBWVIM1efsqxCDnvCiOidAPxV8bcwUjzibRMBj8hl2DMm1 nHAfe9v/3vyt7J6qqEdwhOoKO3HjEHFiZNSvMvaeeqEG+/2jfMfM0h6nNy7RQh/89P2r KZ2bkQwNBcszB4dLz/rqIZbOvmvp87t/sBR6J5Qfl6+9jglDBkswUA1rhCjBJZy8eO8L foU6V9psBKPjlojNFxAPQkxyzh4q5pUe+FtkFnUdFYNe6Z6eq8rn2wEQnewrRtiZTvoI wlRj0kkyNYj7aF4tGF/X1TGhsG/C+1uz0OT4Um2DbRbu4EWCNDwkatpMbNtNbt9OaLlu vSWg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Xi6ZM2UdvMTFNRZSftz9EkLiSSQzLV2C3RwQEACGRLc=; b=BTHjAWdFOCUWYxEqbNUY2hugh5eF70itJH2m8c96uFkCbbLe+P9LpraMXSj6Mi5syP rYW4JQ1YFnRVyRzWOgQC3uRiu/q+sbAcdqDYK+JQUBx6/Wq54xhSvEHYv+3P0WNpZCg6 84l0Wj1P4yr/FuBlw6SQAUMt/mjwUDm6/lWUVDqHjdtHjfQfQka0MeZJxMfS/QFKQSlF P7JLV1GviJUS1Iwkj/yPZEKCULr8R97C5g/8VT131nObqknwDus57jpOAPZLZj4NtxOE jGTNzZqNNIlcLXAZk0xcEAzf2I0qvDC/04+xouYd4wdni9n46NBiAHUuLeuPGtYLFKxn VCmw== X-Gm-Message-State: AOAM532rNSNsVZ63VdWwZwMWyRlqpJZjDhDe0DurfQuCMBR2+z53wDM9 D4S5+BuOrouTvcGKZTOhNndV5g== X-Google-Smtp-Source: ABdhPJxaRkHp7SgyQftz7P/chqa/D9jkN6bGTxh2Eu12g+jdh64FmdM+jAbLcITxYHs24cDhepCeWA== X-Received: by 2002:a05:6e02:152e:: with SMTP id i14mr5715119ilu.252.1634870297453; Thu, 21 Oct 2021 19:38:17 -0700 (PDT) Received: from pryzbyj.telsasoft (charmander.telsasoft.com. [50.244.222.1]) by smtp.gmail.com with ESMTPSA id l4sm3338521ilg.44.2021.10.21.19.38.16 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 21 Oct 2021 19:38:16 -0700 (PDT) Received: by pryzbyj.telsasoft (Postfix, from userid 1000) id B3E34800897; Thu, 21 Oct 2021 21:38:15 -0500 (CDT) Date: Thu, 21 Oct 2021 21:38:15 -0500 From: Justin Pryzby To: "Shinoda, Noriyoshi (PN Japan FSIP)" Cc: masao.fujii@oss.nttdata.com, pgsql-hackers@postgresql.org, rjuju123@gmail.com, tgl@sss.pgh.pa.us, Kyotaro Horiguchi Subject: Re: Improve logging when using Huge Pages Message-ID: <20211022023815.GI741@telsasoft.com> References: <80872660-ad16-3040-0a25-bd741faa5fc0@oss.nttdata.com> <20210922002322.GS831@telsasoft.com> <20210927.114023.1519840069762071193.horikyota.ntt@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.4 (2018-02-28) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk + ereport(LOG, (errmsg("Anonymous shared memory was allocated %s huge pages.", with_hugepages ? "with" : "without"))); You shouldn't break a sentence into pieces like this, since it breaks translation. You don't want an untranslated "without" to appear in the middle of the translated message. There are cases where a component *shouldn't* be translated, like this one: where "numeric" should not be translated. src/backend/utils/adt/numeric.c: errmsg("invalid input syntax for type %s: \"%s\"", src/backend/utils/adt/numeric.c- "numeric", str))); -- Justin