Bug 79270 - initdb does not use iso8859-1 for dbs
initdb does not use iso8859-1 for dbs
Status: CLOSED NOTABUG
Product: Red Hat Linux
Classification: Retired
Component: postgresql (Show other bugs)
8.0
All Linux
medium Severity medium
: ---
: ---
Assigned To: Andrew Overholt
David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2002-12-09 06:58 EST by Bernd
Modified: 2007-04-18 12:48 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2003-03-12 18:49:00 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Bernd 2002-12-09 06:58:07 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Description of problem:
after an rpm installation of postgresql special characters like umlauts are
stored in the database, but when it comes to sorting, they are not read correctly.

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1.create table xxx
2.insert a few lines with umlauts in it
3.select * from xxx order by name
	

Actual Results:  search result is:

 Ankanfte
 Ankenfte
 Ank|nfte
 Ankunfte
 Ankxnfte
 \bernachtungen
 Betten


Expected Results:   Ankanfte
 Ankenfte
 Ankunfte
 Ank|nfte
 Ankxnfte
 Betten
 \bernachtungen


Additional info:

when setting the LANG to en_US or de_AT and doing another initdb everything
works as expected.
Comment 1 Andrew Overholt 2003-03-04 12:37:22 EST
Assigning to me.
Comment 2 Andrew Overholt 2003-03-12 18:49:00 EST
Perhaps the initial initdb is being done in a locale with unexpected sorting
results?  Sorting in non-C locales is not an issue that I am completely familiar
with, so questions directed to the PostgreSQL community would be better
answered.  Either way, this is not a packaging bug AFAICT so I'm going to
resolve it NOTABUG.

Note You need to log in before you can comment on or make changes to this bug.