Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXDST-0007Fm-Et for pgsql-bugs@postgresql.org; Sat, 10 Nov 2012 15:58:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1TXDSP-0001Rz-LS for pgsql-bugs@postgresql.org; Sat, 10 Nov 2012 15:58:57 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id qAAFwpxu009678; Sat, 10 Nov 2012 10:58:52 -0500 (EST) From: Tom Lane To: "Bernhard Reutner-Fischer" cc: pgsql-bugs@postgresql.org Subject: Re: BUG #7644: Missing implicit types of Result and failing type-conversion In-reply-to: <13aeb08ee8b.3848.2760.rep.dot.nop@gmail.com> References: <13aeb08ee8b.3848.2760.rep.dot.nop@gmail.com> Comments: In-reply-to "Bernhard Reutner-Fischer" message dated "Sat, 10 Nov 2012 16:56:02 +0100" Date: Sat, 10 Nov 2012 10:58:51 -0500 Message-ID: <9677.1352563131@sss.pgh.pa.us> X-Pg-Spam-Score: -2.3 (--) X-Archive-Number: 201211/49 X-Sequence-Number: 34607 "Bernhard Reutner-Fischer" writes: > Fair enough but what about the failure for the case with the Result > that fails to merge? There I do have a cast No you don't: > select * from (select 'string two' bug ) s2 regards, tom lane