Re: OCTET_LENGTH is wrong - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: OCTET_LENGTH is wrong
Date
Msg-id Pine.LNX.4.30.0111252243340.609-100000@peter.localdomain
Whole thread Raw
In response to Re: OCTET_LENGTH is wrong  (Tatsuo Ishii <t-ishii@sra.co.jp>)
List pgsql-hackers
Tatsuo Ishii writes:

> > I don't think so.  The sort order is independent of the character
> > encoding, and vice versa.  It must be, because
>
> This seems different from SQL's CREATE COLLATION syntax.
> >From SQL99's CREATE COLLATION definition:
>
>               CREATE COLLATION <collation name> FOR
>               <character set specification>
>                 FROM <existing collation name>
>                   [ <pad characteristic> ]
>
> So it seems a collation depends on a character set.

I see.  But that really doesn't have anything to do with reality.  In
fact, it completely undermines the transparency of the character set
encoding that we're probably trying to achieve.

-- 
Peter Eisentraut   peter_e@gmx.net



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Call for objections: deprecate postmaster -o switch?
Next
From: Sergio Pili
Date:
Subject: Change in rule behavior?