Column name case conversion

Поиск
Список
Период
Сортировка
От Zeljko Trogrlic
Тема Column name case conversion
Дата
Msg-id 4.1.20000904145653.01847008@pop.tel.hr
обсуждение исходный текст
Список pgsql-general
Hello,

I'm getting strange length results for columns with UNICODE data.
I entered following string into database:
abcüäöèæž

First three characters are ASCII, second three are German and third three
are Croatian.

When I execute:
select name, length(name), character_length(name), octet_length(name)
    from location
    where id = 4

I get:
    name = abcüäöèæž (9 characters)
    length = 5
    character_length = 5
    octet_length = 9

OK, maybe my UNICODE is not setup well, but length and character_length
must be 9. I guess octet:length should be at least 12  to 15 (in case
UNICODE is OK).
v
Zeljko Trogrlic
____________________________________________________________

Aeris d.o.o.
Sv. Petka 60 b, HR-31000 Osijek, Croatia
Tel: +385 (31) 53 00 15
Email: mailto:zeljko@post.hinet.hr

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

Предыдущее
От: Oliver Smith
Дата:
Сообщение: That killer 3rd join...
Следующее
От: Jan Wieck
Дата:
Сообщение: Re: PL/Perl compilation error