Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from ) id 1jAlix-0001GQ-K6 for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Mar 2020 02:31:27 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1jAliw-0000Ao-9s for pgsql-hackers@arkaria.postgresql.org; Sun, 08 Mar 2020 02:31:26 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1jAliv-0000Ag-UV for pgsql-hackers@lists.postgresql.org; Sun, 08 Mar 2020 02:31:26 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAlit-0002OB-MG for pgsql-hackers@lists.postgresql.org; Sun, 08 Mar 2020 02:31:24 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id 0282VHDJ016114; Sat, 7 Mar 2020 21:31:17 -0500 From: Tom Lane To: James Coleman cc: =?UTF-8?Q?Juan_Jos=C3=A9_Santamar=C3=ADa_Flecha?= , Peter Eisentraut , Mark Dilger , Alvaro Herrera , Arthur Zakirov , Tomas Vondra , PostgreSQL Hackers Subject: Re: Allow to_date() and to_timestamp() to accept localized names In-reply-to: References: <20200124161814.GA8989@alvherre.pgsql> <32487.1579882979@sss.pgh.pa.us> <2f83150e-a2c0-6318-3125-d9b86e421aa2@2ndquadrant.com> <964.1579884408@sss.pgh.pa.us> <7212.1580177517@sss.pgh.pa.us> <2E3D8D71-3B55-4735-A047-1FECE1506CD1@enterprisedb.com> <6642.1580223087@sss.pgh.pa.us> <4144A0A0-4820-458D-A105-D5EC0E0D133B@enterprisedb.com> <16875.1583012185@sss.pgh.pa.us> <6719.1583101530@sss.pgh.pa.us> <29169.1583251740@sss.pgh.pa.us> Comments: In-reply-to James Coleman message dated "Sat, 07 Mar 2020 21:19:06 -0500" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16112.1583634677.1@sss.pgh.pa.us> Date: Sat, 07 Mar 2020 21:31:17 -0500 Message-ID: <16113.1583634677@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk James Coleman writes: > On master with a clean build (and configure re-run) and a fresh init-db, > I'm seeing the collate.linux.utf8 test fail with the attached diff. -- to_char SET lc_time TO 'tr_TR'; +ERROR: invalid value for parameter "lc_time": "tr_TR" SELECT to_char(date '2010-02-01', 'DD TMMON YYYY'); Looks like you may not have Turkish locale installed? Try locale -a | grep tr_TR If you don't see "tr_TR.utf8" or some variant spelling of that, the collate.linux.utf8 test is not gonna pass. The required package is probably some sub-package of glibc. A workaround if you don't want to install more stuff is to run the regression tests in C locale, so that that test script gets skipped. regards, tom lane