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 1qigah-007VYH-Lj for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2023 19:40:59 +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 1qigaf-00BmiL-6M for pgsql-hackers@arkaria.postgresql.org; Tue, 19 Sep 2023 19:40:57 +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 1qigae-00Bmhb-R2 for pgsql-hackers@lists.postgresql.org; Tue, 19 Sep 2023 19:40:56 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1qigaY-006A6p-6i for pgsql-hackers@lists.postgresql.org; Tue, 19 Sep 2023 19:40:52 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-9ada2e6e75fso802219066b.2 for ; Tue, 19 Sep 2023 12:40:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb.com; s=google; t=1695152447; x=1695757247; darn=lists.postgresql.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=VQzbejLmsRBz3LneiZMjXOtEY5BwiVI/vdAl/0bh7kI=; b=ixRYURLt7BI8UPa8ufJS4C00h1y0FwO23wTmeU6bIxUjCbHVnb/Y6KYKdA9bap4oAm COkPQUgIs7GGR1Gvg2fcaRKOcoFzElqH1vt07pFup848Fv6XSIm3+oCJ8A2HUuY2H4DG TWCljchZ/7+ml7VyoK7cOq7l7x0P5fPkUbMchW1vdDrK/jBKYagjuJEDTVGA1tPzPwXA B9vYl9rPQhB7d17dr2cUkYo8oPja/Sdytf639sOZKJjlp+cOtXtO2FK+GFtoBvNZDk+j h1tmUdJrLpkEl5S9TmiL6aaEuwrFSD35gls03BqXweiVd0o1qH1adPl6uf4lswKx4nuS 8Vrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695152447; x=1695757247; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=VQzbejLmsRBz3LneiZMjXOtEY5BwiVI/vdAl/0bh7kI=; b=WisAGpMSkR3PPIekE1stThkT8FNaFMq4cXNvM/1ywtkJ7i9Pak5uIF9Tn5Npq9Tq5g D8wf4qmI4d1a0rZMutttFs/srkDuZC9F/Vnj+eZ557oaOBGoTR3Jxi+oUggwyK2m1wsR J971eRP2G6xwrrbanvaWPKv6wqFEIGquWTMA0xy+KO2s6/YKJzamQGBisSny69qhqa5r jA/jFHL8rJAOxOLaupSfErxog41BZZynOjvhYacOdn1ULyVe75o7dfPoY/eF7DcJ2MlS 0YjFKJ3Cq1AAmA8r+c0syV4ApHQshAXxhkRB2pSHFqmDF+cvY6u2o2Nwa1vIfNLByYWx y39A== X-Gm-Message-State: AOJu0Yyts2xrCiB7RtNaQeLz3WWfQgIIALIqhLWQGgtcRYkw0Ic1Ofyg 3Q2wp5OQdCvf/BSnIYzHxdrJAw== X-Google-Smtp-Source: AGHT+IHMUISmRRzj6iJ/L7H2wpjiSOzIUPUHs3Ud1Zz8mT2vkov0KudcJzn2BByrDP1azWndQTbsyA== X-Received: by 2002:a17:907:7849:b0:9ad:e99d:4e4d with SMTP id lb9-20020a170907784900b009ade99d4e4dmr304100ejc.50.1695152447559; Tue, 19 Sep 2023 12:40:47 -0700 (PDT) Received: from [10.137.0.17] (ip-86-49-228-220.bb.vodafone.cz. [86.49.228.220]) by smtp.gmail.com with ESMTPSA id mh25-20020a170906eb9900b0099297782aa9sm8168887ejb.49.2023.09.19.12.40.47 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 19 Sep 2023 12:40:47 -0700 (PDT) Message-ID: <20f76b64-c572-7320-64cc-2f6fb3548552@enterprisedb.com> Date: Tue, 19 Sep 2023 21:40:46 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: dikkop seems unhappy because of openssl stuff (FreeBSD 14-BETA1) To: Tom Lane Cc: PostgreSQL Hackers References: <316d304a-1dcd-cea1-3d6c-27f794727a06@enterprisedb.com> <220198.1695063151@sss.pgh.pa.us> <595acc76-6b9c-1445-67e4-00c84cb1a4d8@enterprisedb.com> <380389.1695141908@sss.pgh.pa.us> Content-Language: en-US From: Tomas Vondra In-Reply-To: <380389.1695141908@sss.pgh.pa.us> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 9/19/23 18:45, Tom Lane wrote: > 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= > bsd@freebsd:~ $ 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= bsd@freebsd:~ $ tclsh8.6 % clock scan "1/26/2010" time value too large/small to represent However, I wonder if there's something wrong with tcl itself, considering this: % clock format 1360558800 -format %D 02/11/2013 % clock scan 02/11/2013 -format %D time value too large/small to represent That's a bit strange - it seems tcl can format a timestamp, but then can't read it back in for some reason ... regards -- Tomas Vondra EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company