Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id C5CC81337C04 for ; Thu, 21 Apr 2011 13:06:55 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 65371-03-3 for ; Thu, 21 Apr 2011 16:06:48 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 4C2951337C12 for ; Thu, 21 Apr 2011 13:06:40 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p3LG6Vt7024203; Thu, 21 Apr 2011 12:06:31 -0400 (EDT) To: "Kevin Grittner" cc: "Jeff Wu" , "Mike Fowler" , pgsql-bugs@postgresql.org Subject: Re: BUG #5974: UNION construct type cast gives poor error message In-reply-to: <4DB00817020000250003CB3C@gw.wicourts.gov> References: <201104122018.p3CKIlWR042915@wwwmaster.postgresql.org> <9799.1302719551@sss.pgh.pa.us> <4DA711B6.4060306@mlfowler.com> <4DA6D50E020000250003C83A@gw.wicourts.gov> <4DA72529.7080505@mlfowler.com> <4DA720B8020000250003C856@gw.wicourts.gov> <21368.1302817680@sss.pgh.pa.us> <4DA72B4A020000250003C85D@gw.wicourts.gov> <4DB00817020000250003CB3C@gw.wicourts.gov> Comments: In-reply-to "Kevin Grittner" message dated "Thu, 21 Apr 2011 10:33:59 -0500" Date: Thu, 21 Apr 2011 12:06:31 -0400 Message-ID: <24202.1303401991@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-5 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201104/172 X-Sequence-Number: 30091 "Kevin Grittner" writes: > Jeff Wu wrote: >> what needs to happen to get this fix in? > Well, "fix" implies that there is a bug, which there isn't. I think what Jeff was actually suggesting was that we commit the proposed added HINT. I didn't like the hint patch at all --- as given, the hint would be emitted in a lot of cases where it'd be irrelevant and just plain distracting --- but it might be possible to develop an improved version that would be committable in the 9.1 timeframe. > If there are no objections I'll add this to the TODO Wiki page with > a reference to Tom's description of how it should be implemented. I think there might be something related there already, but if not, feel free to add it. regards, tom lane