Re: Unicode comment on Postgres vs Sql Server

From: Tino Wildenhain <tino(at)wildenhain(dot)de>
To: Swaminathan Saikumar <swami(at)giveexam(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Unicode comment on Postgres vs Sql Server
Date: 2008-03-02 21:04:20
Message-ID: 47CB1654.6070506@wildenhain.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Swaminathan Saikumar wrote:
> I didn't have proper knowledge about the UTF8 format, thanks.
> I originally meant nvarchar & nchar, which is basically varchar & char
> that supports Unicode regardless of the database encoding.

Well, we don't need that when we have UTF8. There could be edge cases
speed wise when you use UCS16 or UCS32 internally but I'm not sure
how well this would justify a new datatype.

The current problem isnt so much with encoding database wise, its more
about collating database cluster wise - which is something not
easily solved when you want to do it according to the SQL spec.

You could work around that with a functional index.

Regards
Tino Wildenhain

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Karl Denninger 2008-03-02 21:46:25 Re: 8.2.6 > 8.3 blows up
Previous Message Swaminathan Saikumar 2008-03-02 20:54:43 Re: Unicode comment on Postgres vs Sql Server