lower() not working correctly...? - Mailing list pgsql-hackers

From Andreas Joseph Krogh
Subject lower() not working correctly...?
Date
Msg-id 200609150952.53956.andreak@officenet.no
Whole thread Raw
Responses Re: lower() not working correctly...?  ("Mario Weilguni" <mario.weilguni@icomedias.com>)
List pgsql-hackers
I have the following query:

select lower(firstname) || ' ' || lower(lastname) from person

firstname and lastname are VARCHAR

lower() returns NULL when firstname OR lastname is NULL, is this correct?

This is 8.2devel from 24.08.2006.

--
Andreas Joseph Krogh <andreak@officenet.no>
Senior Software Developer / Manager
gpg public_key: http://dev.officenet.no/~andreak/public_key.asc
------------------------+---------------------------------------------+
OfficeNet AS            | The most difficult thing in the world is to |
Karenslyst Allé 11      | know how to do a thing and to watch         |
PO. Box 529 Skøyen      | somebody else doing it wrong, without       |
0214 Oslo               | comment.                                    |
NORWAY                  |                                             |
Mobile: +47 909  56 963 |                                             |
------------------------+---------------------------------------------+


pgsql-hackers by date:

Previous
From: Andreas Joseph Krogh
Date:
Subject: Wrong list, sorry (was: lower() not working correctly...?)
Next
From: "Mario Weilguni"
Date:
Subject: Re: lower() not working correctly...?