Unix Technical Forum

BUG #2110: initdb set wrong default encoding

This is a discussion on BUG #2110: initdb set wrong default encoding within the pgsql Bugs forums, part of the PostgreSQL category; --> The following bug has been logged online: Bug reference: 2110 Logged by: Alexei Email address: kaaos@land.ru PostgreSQL version: 8.1.1 ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Bugs

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-10-2008, 09:34 AM
Alexei
 
Posts: n/a
Default BUG #2110: initdb set wrong default encoding


The following bug has been logged online:

Bug reference: 2110
Logged by: Alexei
Email address: kaaos@land.ru
PostgreSQL version: 8.1.1
Operating system: Window XP SP2
Description: initdb set wrong default encoding
Details:

Good day!
I run initdb with --encoding=WIN1251 parameter, but
then 'psql -l' show that encoding of 'template{0,1}'
and 'postgres' databases is KOI8-R.

New databases created with KOI8-R encoding also,
unless specified by 'ENCODING' keyword, or '--encoding'
parameter.

During run of initdb no warning or error messages
printed.

It seems, that actually the encoding of 'template{0,1}' and 'postgres'
databases is valid (CP1251):
query "select '№'" print '№'. (№ - is a symbol
present in CP1251 at code 0x00b9 and not present in KOI8-R)

But in newly created database the same query print empty space (as in KOI8-R
database), and 'psql -l' show, that ALL databases have KOI8-R encoding.

Thank you and sorry for my English.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:18 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com