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 1lDBEw-0007mu-Ea for pgsql-admin@arkaria.postgresql.org; Fri, 19 Feb 2021 19:14:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1lDBEu-0003dW-Th for pgsql-admin@arkaria.postgresql.org; Fri, 19 Feb 2021 19:14:56 +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 1lDBEt-0003dP-GO for pgsql-admin@lists.postgresql.org; Fri, 19 Feb 2021 19:14:56 +0000 Received: from mx32.harte-lyne.ca ([216.185.71.32]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lDBEq-0003mH-N0 for pgsql-admin@lists.postgresql.org; Fri, 19 Feb 2021 19:14:54 +0000 Received: from mx32.harte-lyne.ca (localhost [127.0.32.1]) by mx32.harte-lyne.ca (Postfix) with ESMTP id C6D14461A5; Fri, 19 Feb 2021 14:14:50 -0500 (EST) X-Virus-Scanned: amavisd-new at harte-lyne.ca Received: from mx32.harte-lyne.ca ([127.0.32.1]) by mx32.harte-lyne.ca (mx32.harte-lyne.ca [127.0.32.1]) (amavisd-new, port 10024) with ESMTP id 6BhtuPdbT0s5; Fri, 19 Feb 2021 14:14:49 -0500 (EST) Received: from webmail.harte-lyne.ca (webmail.hamilton.harte-lyne.ca [216.185.71.106]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mx32.harte-lyne.ca (Postfix) with ESMTPSA id A79B04619A; Fri, 19 Feb 2021 14:14:48 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=harte-lyne.ca; s=dkim_hll; t=1613762089; bh=TZON1s+fDzyKLm9fMt2NNkVF7PWTV7xdooogKcUiIyQ=; h=In-Reply-To:References:Date:Subject:From:To:Cc:Reply-To; b=qeGAJfov0P6iMjDDFDgpqms593qRc5VkTZMgZw9o95txczB0Vrn30qIDsem5YI8P3 VW7dOlVz734QKX1I6rszAGy2WopMnVcp6JCRRUAon1qKs6JVGCap4XA3eYEetp+k0H 843DclBKhI7lywRVhULovHN/isOIYYekKclanKlUWGA8ns+HPGw/GRMQpYazh+mXbD lyRPbuAdeGAtlRtX5Eqylj/3sC4sYxp7E0CTJjz+Gw8Je/8E0FFjj37OjQ1fyhOMd4 pL6QdwnH+yd3j7wkh6lmsJMGQBCgOOPfa3NoMFZykvlzBH/XnzDEurA2cXgSJp59nu IzOccEPv442Qg== Received: from 216.185.71.41 (SquirrelMail authenticated user byrnejb_hll) by webmail.harte-lyne.ca with HTTP; Fri, 19 Feb 2021 14:14:48 -0500 Message-ID: In-Reply-To: References: Date: Fri, 19 Feb 2021 14:14:48 -0500 Subject: Re: --locale options not honoured? From: "James B. Byrne" To: "David G. Johnston" Cc: "Pgsql-admin" Reply-To: byrnejb@harte-lyne.ca User-Agent: SquirrelMail/1.4.23 [SVN] MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Fri, February 19, 2021 13:30, David G. Johnston wrote: > On Fri, Feb 19, 2021 at 11:22 AM James B. Byrne > wrote: > >> I am try to create a new pg database with --locale=en_US.UTF8. > > > You are creating a whole new cluster., not just a database. > . . . > You created a new cluster, but never started it, yet were able to connect > to it without a problem. I suspect you are connecting psql to some already > running existing cluster and that the cluster you initdb'd is correctly > configured but just sitting there offline waiting to be started - possibly > after changing its port information so it doesn't conflict with this > already running instance. > I do not know how I did that but, evidently I did. Thank you. psql -U postgres template1 psql (13.1) Type "help" for help. template1=# \l List of databases Name | Owner | Encoding | Collate | Ctype | Access privileges -----------+----------+----------+-------------+-------------+----------------------- postgres | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | template0 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | en_US.UTF-8 | en_US.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (3 rows) -- *** e-Mail is NOT a SECURE channel *** Do NOT transmit sensitive data via e-Mail Unencrypted messages have no legal claim to privacy Do NOT open attachments nor follow links sent by e-Mail James B. Byrne mailto:ByrneJB@Harte-Lyne.ca Harte & Lyne Limited http://www.harte-lyne.ca 9 Brockley Drive vox: +1 905 561 1241 Hamilton, Ontario fax: +1 905 561 0757 Canada L8E 3C3