Re: dikkop seems unhappy because of openssl stuff (FreeBSD 14-BETA1)

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: dikkop seems unhappy because of openssl stuff (FreeBSD 14-BETA1)
Date: 2023-09-19 16:45:08
Message-ID: 380389.1695141908@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Tomas Vondra <tomas(dot)vondra(at)enterprisedb(dot)com> 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(at)freebsd:~ $ tclsh8.7
> % clock scan "1/26/2010"
> time value too large/small to represent

> bsd(at)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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2023-09-19 16:52:10 Re: Disabling Heap-Only Tuples
Previous Message Alvaro Herrera 2023-09-19 16:30:44 Re: Disabling Heap-Only Tuples