Database encoding and collation

Поиск
Список
Период
Сортировка
От Rodrigo Barboza
Тема Database encoding and collation
Дата
Msg-id CANs8QJY8vnHXBp4dGO0NW2k5SyLkw+8wERL80q7ZEfj1rz7kog@mail.gmail.com
обсуждение исходный текст
Ответы Re: Database encoding and collation
Список pgsql-admin
Hi guys.
I created a database with default encoding (SQL_ASCII) and default collate (C).
I created a table test like this:
create table test (a varchar (10));
Then i executed "insert into teste (a) values ('áéç&ã','Æ','ß');

After that:
select * from test;
    a
---------
 áéç&ã
 Æ
 ß

Why did it stora correctly if those values are not ASCII?


В списке pgsql-admin по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Pb migrating database from Postgres 8.1 to 8.4
Следующее
От: Craig James
Дата:
Сообщение: Re: Database encoding and collation