From: Erik Rijkers <er@xs4all.nl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: brandstetter@falter.at
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8150: NULL emements lost when casting result of unnest()
Date: Sat, 11 May 2013 17:26:19 +0200
Message-ID: <e59ef673eb74c805d5156d5ba61813cf.squirrel@webmail.xs4all.nl> (raw)
In-Reply-To: <16834.1368285224@sss.pgh.pa.us>
References: <E1Ub8p6-0006NC-Ja@wrigleys.postgresql.org>
<16834.1368285224@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On Sat, May 11, 2013 17:13, Tom Lane wrote:
> brandstetter@falter.at writes:
>> SELECT unnest('{1,NULL,4}'::int[])::int8;
>> i
>> ---
>> 1
>> 4
>
>
> This is another case where I'm not too sure if we ought to back-patch.
> The current behavior is clearly wrong, but perhaps some application
> out there will be unhappy if we change it in back branches?
>
My vote would be against backpatching, both in this case and in the recent TO_CHAR()/TO_NUMBER()
format problem.
Perhaps there would be value in making the back branch patches available. (Perhaps these two
patches are already usable against backbranches; I would have tried but I cannot build lower than
9.2 at the moment; I assume no-one can)
Erik Rijkers
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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: er@xs4all.nl, tgl@sss.pgh.pa.us, brandstetter@falter.at
Subject: Re: BUG #8150: NULL emements lost when casting result of unnest()
In-Reply-To: <e59ef673eb74c805d5156d5ba61813cf.squirrel@webmail.xs4all.nl>
References: <E1Ub8p6-0006NC-Ja@wrigleys.postgresql.org> <16834.1368285224@sss.pgh.pa.us> <e59ef673eb74c805d5156d5ba61813cf.squirrel@webmail.xs4all.nl>
* 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