Re: concenation of strings and null values

Dieter Fischer <dieter.fischer@grid-it.ch>

From: "Dieter Fischer (grid-it)" <dieter.fischer@grid-it.ch>
To: "Pgsql-General" <pgsql-general@postgresql.org>
Date: 2003-10-07T09:20:14Z
Lists: pgsql-general
Hello

> SELECT 'abc'::text || null::text;
>
> The last example looks like a bug,
> but if it is intentionally so, its
> at least very annoying and inconvenient.

NULL means here UNKOWN. You cannot add or concatenate something to an
undefined Value.

Regards

Dieter