Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old November 12th, 2005, 12:42 AM
Steve - DND
Guest
 
Posts: n/a
Default MultiByte Columns?

I currently have a DB setup with ENCODING = UNICODE. Are all char, and
varchars stored as UNICODE? I predominantly work in a SQL Server
environment, and there we have varchar for regular ASCII, and nvarchar for
Unicode, so the extra space is used only when necessary. I just wanted to
find out if PG takes care of this behind the scenes, or if everything for
the DB is stored as multi-byte.

Also, I get the general impression(from newsgroups, forums, etc...) that PG
is rough around the edges when dealing with Unicode, is this the case, or
just a bunch of noisy people?

Thanks,
Steve
  #2  
Old November 12th, 2005, 12:42 AM
Peter Eisentraut
Guest
 
Posts: n/a
Default Re: MultiByte Columns?

Steve - DND writes:
[color=blue]
> I currently have a DB setup with ENCODING = UNICODE. Are all char, and
> varchars stored as UNICODE?[/color]

Yes.
[color=blue]
> Also, I get the general impression(from newsgroups, forums, etc...) that PG
> is rough around the edges when dealing with Unicode, is this the case, or
> just a bunch of noisy people?[/color]

One particular problem is that there is poor (i.e., no) support for
localized collation orders in Unicode databases.

--
Peter Eisentraut peter_e@gmx.net


---------------------------(end of broadcast)---------------------------
TIP 2: you can get off all lists at once with the unregister command
(send "unregister YourEmailAddressHere" to majordomo@postgresql.org)

  #3  
Old November 12th, 2005, 12:42 AM
Steve - DND
Guest
 
Posts: n/a
Default Re: MultiByte Columns?

> > Also, I get the general impression(from newsgroups, forums,[color=blue]
> etc...) that PG[color=green]
> > is rough around the edges when dealing with Unicode, is this[/color]
> the case, or[color=green]
> > just a bunch of noisy people?[/color]
>
> One particular problem is that there is poor (i.e., no) support for
> localized collation orders in Unicode databases.[/color]

Do you know if there is there planning to make PG more Unicode friendly in
the future? If so, any idea around what version they're expecting it to be?

Thanks,
Steve




---------------------------(end of broadcast)---------------------------
TIP 4: Don't 'kill -9' the postmaster

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles