From: Andrew Gierth <andrew@tao11.riddles.org.uk>
To: Egashira\, Yusuke <egashira.yusuke@jp.fujitsu.com>
Cc: 'pgsql-general\@postgresql.org' <pgsql-general@postgresql.org>
Subject: Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not
Date: Thu, 17 Jan 2019 06:56:06 +0000
Message-ID: <87munzixk4.fsf@news-spur.riddles.org.uk> (raw)
In-Reply-To: <848B1649C8A6274AA527C4472CA11EDD5FA87F88@G01JPEXMBYT02>
References: <848B1649C8A6274AA527C4472CA11EDD5FA87F88@G01JPEXMBYT02>
>>>>> "Egashira" == Egashira, Yusuke <egashira.yusuke@jp.fujitsu.com> writes:
Egashira> Hi,
Egashira> I have a question about array_to_string().
Egashira> I think array_to_string() concatenates always array elements
Egashira> from the "beginning" of the array elements and this rule will
Egashira> not be changed on the future minor releases.
Egashira> Is my understanding correct?
The order of elements in the original array will always be preserved in
the string output, yes.
Egashira> For example, I understand that array_to_string() "never"
Egashira> output like following result now and in the future, is my
Egashira> understanding correct?
Yes.
--
Andrew (irc:RhodiumToad)
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-general@postgresql.org
Cc: andrew@tao11.riddles.org.uk, egashira.yusuke@jp.fujitsu.com
Subject: Re: Question about array_to_string()'s behavior and the behavior might be changed in the future or not
In-Reply-To: <87munzixk4.fsf@news-spur.riddles.org.uk>
References: <848B1649C8A6274AA527C4472CA11EDD5FA87F88@G01JPEXMBYT02> <87munzixk4.fsf@news-spur.riddles.org.uk>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox