Re: what is good solution for support NULL inside string_to_array function? - Mailing list pgsql-hackers

From Pavel Stehule
Subject Re: what is good solution for support NULL inside string_to_array function?
Date
Msg-id s2n162867791005040732j4fb14d45z642259db6682170d@mail.gmail.com
Whole thread Raw
In response to Re: what is good solution for support NULL inside string_to_array function?  (Merlin Moncure <mmoncure@gmail.com>)
List pgsql-hackers
2010/5/4 Merlin Moncure <mmoncure@gmail.com>:
> On Tue, May 4, 2010 at 10:05 AM, Pavel Stehule <pavel.stehule@gmail.com> wrote:
>> and then string_to_array and array_to_string are orthogonal with NULL.
>
> I like the behavior, but should it share the name with the 2 argument
> version given the incompatibility? Maybe make a new function
> to_string(anyarray, sep, nullsym='') and deprecate the old one?
>

maybe to_string X to_array ... Why not? It shorter, maybe it is cleaner

Regards
Pavel

> merlin
>


pgsql-hackers by date:

Previous
From: "Kevin Grittner"
Date:
Subject: Re: Reg: SQL Query for Postgres 8.4.3
Next
From: Robert Haas
Date:
Subject: Re: Reg: SQL Query for Postgres 8.4.3