From: Matthew Williams <mattyw@me.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pg@mattyw.net
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #15480: psql 11 array concatenation in CASE takes on values from the CASE expression when using enum_range
Date: Thu, 01 Nov 2018 22:39:18 +0800
Message-ID: <43D80FCA-97DB-4D96-8431-615856419BB6@me.com> (raw)
In-Reply-To: <7202.1541082414@sss.pgh.pa.us>
References: <15480-b81ba9ae56bbe35e@postgresql.org>
<7202.1541082414@sss.pgh.pa.us>
Apologies, I had an old safari tab open on the submission of the original bug (15471). It appears it's resubmitted the form.
Matt
> On 1 Nov 2018, at 10:26 pm, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>
> =?utf-8?q?PG_Bug_reporting_form?= <noreply@postgresql.org> writes:
>> Below is an example .sql file that replicates the problem. Put simply, when
>> we array concat with enum_range in the result of a CASE statement the
>> concatenation takes the expression from the CASE statement, not the enum
>> range.
>
> Isn't this a duplicate of bug #15471 ?
>
> regards, tom lane
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-bugs@postgresql.org
Cc: mattyw@me.com, tgl@sss.pgh.pa.us, pg@mattyw.net
Subject: Re: BUG #15480: psql 11 array concatenation in CASE takes on values from the CASE expression when using enum_range
In-Reply-To: <43D80FCA-97DB-4D96-8431-615856419BB6@me.com>
References: <15480-b81ba9ae56bbe35e@postgresql.org> <7202.1541082414@sss.pgh.pa.us> <43D80FCA-97DB-4D96-8431-615856419BB6@me.com>
* 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