public inbox for [email protected]  
help / color / mirror / Atom feed
From: David G. Johnston <[email protected]>
To: [email protected] <[email protected]>
Subject: Annoying "split to array" function inconsistency...best way to fix?
Date: Sun, 27 Sep 2015 10:49:01 -0400
Message-ID: <CAKFQuwbSqjkCfY7HPZ5-nT=SOD0d7MYTSYRaHG06ipL9AuJC_w@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

Two functions exists that convert "text" to "text[]"

regexp_string_to_array(text, text [,text]) :
http://www.postgresql.org/docs/9.4/interactive/functions-string.html
string_to_array(text, text [, text]) :
http://www.postgresql.org/docs/9.4/interactive/functions-array.html

Would it be hateful to make it so that both entries appear on both tables?

array_to_string(anyarray, text [,text]) could be lumped in with this as
well.

string_to_array not being on the string functions page is the more glaring
omission for me.

David J.


view thread (2+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected]
  Subject: Re: Annoying "split to array" function inconsistency...best way to fix?
  In-Reply-To: <CAKFQuwbSqjkCfY7HPZ5-nT=SOD0d7MYTSYRaHG06ipL9AuJC_w@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox