Column name case conversion - Mailing list pgsql-general

From Zeljko Trogrlic
Subject Column name case conversion
Date
Msg-id 4.1.20000904145653.01847008@pop.tel.hr
Whole thread Raw
List 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 by date:

Previous
From: Oliver Smith
Date:
Subject: That killer 3rd join...
Next
From: Jan Wieck
Date:
Subject: Re: PL/Perl compilation error