Re: proposal - function string_to_table - Mailing list pgsql-hackers

From Justin Pryzby
Subject Re: proposal - function string_to_table
Date
Msg-id 20200417212951.GD26953@telsasoft.com
Whole thread Raw
In response to proposal - function string_to_table  (Pavel Stehule <pavel.stehule@gmail.com>)
Responses Re: proposal - function string_to_table  (Pavel Stehule <pavel.stehule@gmail.com>)
List pgsql-hackers
On Fri, Apr 17, 2020 at 07:47:15PM +0200, Pavel Stehule wrote:
> I propose new function string_to_table. This function is significantly

+1

> +/*
> + * Add text to result set (table or array). Build a table when set is a expected or build
> + * a array

as expected (??)
*an* array

> +select string_to_table('abc', '', 'abc');
> + string_to_table 
> +-----------------
> + 
> +(1 row)

Maybe you should \pset null '(null)' for this

-- 
Justin



pgsql-hackers by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Should we add xid_current() or a int8->xid cast?
Next
From: Thomas Munro
Date:
Subject: Re: spin_delay() for ARM