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 1t54gA-003svN-Tm for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2024 14:55:42 +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 1t54g8-00H2uJ-UO for pgsql-general@arkaria.postgresql.org; Sun, 27 Oct 2024 14:55:41 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t54g8-00H2uB-JM for pgsql-general@lists.postgresql.org; Sun, 27 Oct 2024 14:55:40 +0000 Received: from smtp87.ord1d.emailsrvr.com ([184.106.54.87]) by makus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1t54g2-0037q4-PC for pgsql-general@postgresql.org; Sun, 27 Oct 2024 14:55:39 +0000 X-Auth-ID: xof@thebuild.com Received: by smtp3.relay.ord1d.emailsrvr.com (Authenticated sender: xof-AT-thebuild.com) with ESMTPSA id 1F971602D1; Sun, 27 Oct 2024 10:55:32 -0400 (EDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: Setting "ucs_basic" as the default database collation From: Christophe Pettus In-Reply-To: Date: Sun, 27 Oct 2024 16:55:00 +0200 Cc: pgsql-general Content-Transfer-Encoding: quoted-printable Message-Id: <8580A26C-48D2-4B37-9F06-5708060BDAB7@thebuild.com> References: To: Ron Johnson X-Mailer: Apple Mail (2.3776.700.51) X-Classification-ID: 8feb2166-8e97-42d5-8712-7b2c0767536a-1-1 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk > On Oct 27, 2024, at 13:56, Ron Johnson = wrote: >=20 > The CREATE DATABASE statement has an ENCODING option. Does that work = with 'ucs_basic'? No: xof=3D# create database test encoding=3Ducs_basic; ERROR: ucs_basic is not a valid encoding name LINE 1: create database test encoding=3Ducs_basic; ^ Although that's not too surprising; it's a UTF-8 collation, not an = encoding as such. Experimenting with the various other CREATE DATABASE = parameters hasn't gotten me any farther.=