Re: NULLs in array_cat vs array || array - Mailing list pgsql-hackers

From Thom Brown
Subject Re: NULLs in array_cat vs array || array
Date
Msg-id AANLkTi=Q1SJwMvAy6cZ7jF=d1YL5=R=AQoGOS-mf0BmJ@mail.gmail.com
Whole thread Raw
In response to Re: NULLs in array_cat vs array || array  (Cédric Villemain <cedric.villemain.debian@gmail.com>)
List pgsql-hackers
On 15 February 2011 21:46, Cédric Villemain
<cedric.villemain.debian@gmail.com> wrote:
> 2011/2/15 Thom Brown <thom@linux.com>:
>> Hi all,
>>
>> I assumed array_cat would behave similarly to array || array, but it
>> appears not when it comes to NULLs.  Shouldn't these have identical
>> functionality?  The attached patch makes it so, although it would
>> break existing code.
>
> There is bugreport and todo entry for that if it helps:
>
> http://archives.postgresql.org/pgsql-bugs/2008-11/msg00032.php

Ah, I see.  More to it than meets the eye.  My bad.

--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935


pgsql-hackers by date:

Previous
From: Dimitri Fontaine
Date:
Subject: Re: Extensions vs PGXS' MODULE_PATHNAME handling
Next
From: Andrew Dunstan
Date:
Subject: Re: Extensions vs PGXS' MODULE_PATHNAME handling