Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qidqi-007IaM-To for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2023 16:45:20 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1qidqh-00AxGI-G9 for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2023 16:45:19 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qidqh-00AxG8-5o for pgsql-hackers@lists.postgresql.org; Tue, 19 Sep 2023 16:45:19 +0000 Received: from sss.pgh.pa.us ([68.162.161.243]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1qidqa-0068js-4F for pgsql-hackers@lists.postgresql.org; Tue, 19 Sep 2023 16:45:18 +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 38JGj8MH380390; Tue, 19 Sep 2023 12:45:08 -0400 From: Tom Lane To: Tomas Vondra cc: PostgreSQL Hackers Subject: Re: dikkop seems unhappy because of openssl stuff (FreeBSD 14-BETA1) In-reply-to: <595acc76-6b9c-1445-67e4-00c84cb1a4d8@enterprisedb.com> References: <316d304a-1dcd-cea1-3d6c-27f794727a06@enterprisedb.com> <220198.1695063151@sss.pgh.pa.us> <595acc76-6b9c-1445-67e4-00c84cb1a4d8@enterprisedb.com> Comments: In-reply-to Tomas Vondra message dated "Tue, 19 Sep 2023 18:21:35 +0200" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <380388.1695141908.1@sss.pgh.pa.us> Date: Tue, 19 Sep 2023 12:45:08 -0400 Message-ID: <380389.1695141908@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Tomas Vondra writes: > I have no experience with tcl, but I tried this in the two tclsh > versions installed no the system (8.6 and 8.7): > bsd@freebsd:~ $ tclsh8.7 > % clock scan "1/26/2010" > time value too large/small to represent > bsd@freebsd:~ $ tclsh8.6 > % clock scan "1/26/2010" > time value too large/small to represent > AFAIK this is what the tcl_date_week(2010,1,26) translates to. Oh, interesting. On my FreeBSD 13.1 arm64 system, it works: $ tclsh8.6 % clock scan "1/26/2010" 1264482000 I am now suspicious that there's some locale effect that we have not observed before (though why not?). What is the result of the "locale" command on your box? Mine gives $ locale LANG=C.UTF-8 LC_CTYPE="C.UTF-8" LC_COLLATE="C.UTF-8" LC_TIME="C.UTF-8" LC_NUMERIC="C.UTF-8" LC_MONETARY="C.UTF-8" LC_MESSAGES="C.UTF-8" LC_ALL= regards, tom lane