Re: Setting "ucs_basic" as the default database collation - Mailing list pgsql-general

From Christophe Pettus
Subject Re: Setting "ucs_basic" as the default database collation
Date
Msg-id 8580A26C-48D2-4B37-9F06-5708060BDAB7@thebuild.com
Whole thread Raw
In response to Re: Setting "ucs_basic" as the default database collation  (Ron Johnson <ronljohnsonjr@gmail.com>)
List pgsql-general

> On Oct 27, 2024, at 13:56, Ron Johnson <ronljohnsonjr@gmail.com> wrote:
>
>  The CREATE DATABASE statement has an ENCODING option.  Does that work with 'ucs_basic'?

No:

xof=# create database test encoding=ucs_basic;
ERROR:  ucs_basic is not a valid encoding name
LINE 1: create database test encoding=ucs_basic;
                             ^

Although that's not too surprising; it's a UTF-8 collation, not an encoding as such.  Experimenting with the various
otherCREATE DATABASE parameters hasn't gotten me any farther. 


pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Setting "ucs_basic" as the default database collation
Next
From: Tom Lane
Date:
Subject: Re: Setting "ucs_basic" as the default database collation