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 1plryt-00074m-Fx for pgsql-committers@arkaria.postgresql.org; Mon, 10 Apr 2023 13:54:51 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1plrys-0005hD-2c for pgsql-committers@arkaria.postgresql.org; Mon, 10 Apr 2023 13:54:50 +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 1plryr-0005h3-Re for pgsql-committers@lists.postgresql.org; Mon, 10 Apr 2023 13:54:49 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1plryp-0022mn-5V for pgsql-committers@lists.postgresql.org; Mon, 10 Apr 2023 13:54:49 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 33ADsgcO4032364; Mon, 10 Apr 2023 09:54:42 -0400 From: Tom Lane To: Aleksander Alekseev cc: pgsql-committers@lists.postgresql.org, Alexander Korotkov , Andrew Dunstan Subject: Re: pgsql: psql: add an optional execution-count limit to \watch. In-reply-to: References: <2929174.1680876023@sss.pgh.pa.us> Comments: In-reply-to Aleksander Alekseev message dated "Mon, 10 Apr 2023 15:48:57 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4032362.1681134882.1@sss.pgh.pa.us> Date: Mon, 10 Apr 2023 09:54:42 -0400 Message-ID: <4032363.1681134882@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Aleksander Alekseev writes: > The test still fails under the following conditions: > $ env | grep UTF-8 > LANG=en_US.UTF-8 > LC_ALL=en_US.UTF-8 > LC_NUMERIC=ru_RU.UTF-8 Hmm, so psql is honoring the LC_NUMERIC setting in that environment, but perl isn't. For me, it appears that adding 'use locale;' to the test script will fix it ... can you confirm if it's OK for you? regards, tom lane