Re: bug or feature, || -operator and NULLs - Mailing list pgsql-hackers

From Mario Weilguni
Subject Re: bug or feature, || -operator and NULLs
Date
Msg-id FA095C015271B64E99B197937712FD020E4B0DE5@freedom.grz.icomedias.com
Whole thread Raw
In response to Re: bug or feature, || -operator and NULLs  (Andreas Joseph Krogh <andreak@officenet.no>)
Responses Re: bug or feature, || -operator and NULLs  (Lukas Kahwe Smith <smith@pooteeweet.org>)
List pgsql-hackers
Nice, but I still prefer nvl. Coalesce is hard to pronounce, and even harder to type.

-----Ursprüngliche Nachricht-----
Von: Andreas Joseph Krogh [mailto:andreak@officenet.no]
Gesendet: Mittwoch, 18. Oktober 2006 15:48
An: pgsql-hackers@postgresql.org
Cc: Mario Weilguni
Betreff: Re: [HACKERS] bug or feature, || -operator and NULLs

On Wednesday 18 October 2006 15:15, Mario Weilguni wrote:
> >If you want this behaviour you will have to explicitly handle it with
>
> COALESCE().
>
> >regards,
> >Lukas
>
> True. But there's a point where oracle is really better here, they
> named "coalesce" "nvl" => a lot easier to type ;-)

They actually support COALESCE now and explicit JOINs too.

--
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: Re: bug or feature, || -operator and NULLs
Next
From: Andrew Dunstan
Date:
Subject: Re: bug or feature, || -operator and NULLs