Re: what is good solution for support NULL inside string_to_array function?

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Merlin Moncure <mmoncure(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Josh Berkus <josh(at)agliodbs(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: what is good solution for support NULL inside string_to_array function?
Date: 2010-05-04 14:32:48
Message-ID: s2n162867791005040732j4fb14d45z642259db6682170d@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2010/5/4 Merlin Moncure <mmoncure(at)gmail(dot)com>:
> On Tue, May 4, 2010 at 10:05 AM, Pavel Stehule <pavel(dot)stehule(at)gmail(dot)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
>

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Simon Riggs 2010-05-04 14:42:29 Re: max_standby_delay considered harmful
Previous Message Kevin Grittner 2010-05-04 14:29:47 Re: Reg: SQL Query for Postgres 8.4.3