Re: Setting "ucs_basic" as the default database collation

Поиск
Список
Период
Сортировка
От Christophe Pettus
Тема Re: Setting "ucs_basic" as the default database collation
Дата
Msg-id 8580A26C-48D2-4B37-9F06-5708060BDAB7@thebuild.com
обсуждение исходный текст
Ответ на Re: Setting "ucs_basic" as the default database collation  (Ron Johnson <ronljohnsonjr@gmail.com>)
Список 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 по дате отправления: