Re: BUG #1568: concat

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: helman <123(at)123(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1568: concat
Date: 2005-04-03 01:10:19
Message-ID: 200504030110.j331AJQ21786@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

helman wrote:
>
> The following bug has been logged online:
>
> Bug reference: 1568
> Logged by: helman
> Email address: 123(at)123(dot)com
> PostgreSQL version: 8.0
> Operating system: linux
> Description: concat
> Details:
>
> concat no accept null

Concatting a NULL returns a NULL. You might want to use COALESCE() to
return '' for NULL in the concat.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Bruce Momjian 2005-04-03 01:18:10 Re: BUG #1570: Double quotes in all field/table names must be
Previous Message Tom Lane 2005-04-03 00:03:50 Re: BUG in pg_autovacuum - with patch