Re: pl/pgsql string combining - Mailing list pgsql-general

From Bino Oetomo
Subject Re: pl/pgsql string combining
Date
Msg-id 4B28A95F.3050108@indoakses-online.com
Whole thread Raw
In response to Re: pl/pgsql string combining  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-general
Dear Mr. Stehule

Thankyou for your super prompt (came to my mailbox less then 2 minutes
since my post) enlightment.

I'll try it

Sincerely
-bino-

Pavel Stehule wrote:
> Hello
>
> NULL and any is NULL. So you have to use "coalesce" function.
>
> like
>
> NEW.prefix = ctrcode || coalesce(NEW.code, '');
>
> Regards
> Pavel Stehule
>
>


pgsql-general by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: pl/pgsql string combining
Next
From: Mike Christensen
Date:
Subject: Re: Need some advice on a difficult query