dbTalk Databases Forums  

[BUGS] error in upper()

mailing.database.pgsql-bugs mailing.database.pgsql-bugs


Discuss [BUGS] error in upper() in the mailing.database.pgsql-bugs forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Klaus Ita
 
Posts: n/a

Default [BUGS] error in upper() - 08-19-2006 , 06:51 AM






I know that tom is going to say this is not a bug in pg and he is probably
right. but still i want to state, that in pg 8.1 the

select lower(upper('ß'))

does not return 'ss'. because the upper('ß') does not return 'SS' in the
first place. I know, german is a terrible language, but still - we are using
it :-)

thx,
klaus

and tom. there is no offence at all! I love Pg and the work you are doing.
thank you!

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

Reply With Quote
  #2  
Old   
Richard Troy
 
Posts: n/a

Default Re: [BUGS] error in upper() - 08-26-2006 , 01:01 PM








Hi Klaus,

I must have missed the bug submitted about this, but as a student of
German I took particular interest in your post.

I'm unaware of any upper case or lower case for 'ß', just as there is no
upper or lower case for '@'. So, I'd expect the function to pass it
through. It's not - or shouldn't be - the business of upper() or lower()
to translate your characters for you which haven't got an appropriate
upper or lower case version...

Rgds,
Richard

On Fri, 18 Aug 2006, Klaus Ita wrote:

Quote:
Date: Fri, 18 Aug 2006 09:44:27 +0200
From: Klaus Ita <klaus.ita (AT) ai (DOT) wu-wien.ac.at
To: pgsql-bugs (AT) postgresql (DOT) org
Subject: [BUGS] error in upper()

I know that tom is going to say this is not a bug in pg and he is probably
right. but still i want to state, that in pg 8.1 the

select lower(upper('ß'))

does not return 'ss'. because the upper('ß') does not return 'SS' in the
first place. I know, german is a terrible language, but still - we are using
it :-)

thx,
klaus

and tom. there is no offence at all! I love Pg and the work you are doing.
thank you!

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faq

--
Richard Troy, Chief Scientist
Science Tools Corporation
510-924-1363 or 202-747-1263
rtroy (AT) ScienceTools (DOT) com, http://ScienceTools.com/


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


Reply With Quote
  #3  
Old   
Peter Eisentraut
 
Posts: n/a

Default Re: [BUGS] error in upper() - 08-27-2006 , 12:20 AM



Richard Troy wrote:
Quote:
I'm unaware of any upper case or lower case for 'ß'
It's a matter of taste whether you leave 'ß' as is or replace it by 'SS'
when upper casing. PostgreSQL does upper-casing character by
character, so there is no support for one-to-many conversions.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

---------------------------(end of broadcast)---------------------------
TIP 4: Have you searched our list archives?

http://archives.postgresql.org


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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.