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

From Andreas Joseph Krogh
Subject lower() not working correctly...?
Date
Msg-id 200609151006.40801.andreak@officenet.no
Whole thread Raw
Responses Re: lower() not working correctly...?
Re: lower() not working correctly...?
List pgsql-sql
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-sql by date:

Previous
From: Niklas Johansson
Date:
Subject: Re: nested select within a DISCTINCT block
Next
From: "A. Kretschmer"
Date:
Subject: Re: lower() not working correctly...?