Question regarding UTF-8 data and "C" collation on definition of field of table
От
Dionisis Kontominas
Тема
Question regarding UTF-8 data and "C" collation on definition of field of table
Дата
Msg-id
CAB4Evu1nV57hohRkEzs3J5MtDOzLFo-Uo-_TtLbiUB1WEFVOxw@mail.gmail.com
Список
Дерево обсуждения
Question regarding UTF-8 data and "C" collation on definition of field of table Dionisis Kontominas <dkontominas@gmail.com>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Tom Lane <tgl@sss.pgh.pa.us>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Dionisis Kontominas <dkontominas@gmail.com>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Tom Lane <tgl@sss.pgh.pa.us>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Dionisis Kontominas <dkontominas@gmail.com>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Tom Lane <tgl@sss.pgh.pa.us>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Peter Geoghegan <pg@bowt.ie>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Ron <ronljohnsonjr@gmail.com>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table "Peter J. Holzer" <hjp-pgsql@hjp.at>
Re: Question regarding UTF-8 data and "C" collation on definition of field of table Dionisis Kontominas <dkontominas@gmail.com>
Hello all,
I have a question regarding the definition of the type of a character field in a table and more specifically about its collation and UTF-8 characters and strings.
Let's say that the definition is for example as follows:
name character varying(8) COLLATE pg_catalog."C" NOT NULL
and also assume that the database default encoding is UTF8 and also the Collate and Ctype is "C"". I plan to store strings of various languages in this field.
Are these the correct settings that I should have used on creation of the database?.
Thank you in Advance!
Kindest regards,
Dionisis Kontominas
В списке pgsql-general по дате отправления
От: Erik Wienhold
Дата:
От: Tom Lane
Дата: