Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1X2Nf5-0002Ge-M9 for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2014 16:45:35 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1X2Nf5-0001FD-1s for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Jul 2014 16:45:35 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2Nf4-0001F4-BL for pgsql-bugs@postgresql.org; Wed, 02 Jul 2014 16:45:34 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1X2Nf0-0008JM-R7 for pgsql-bugs@postgresql.org; Wed, 02 Jul 2014 16:45:32 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id s62GjQCp009483; Wed, 2 Jul 2014 12:45:26 -0400 From: Tom Lane To: Matthias Raffelsieper cc: pgsql-bugs@postgresql.org Subject: Re: BUG #10836: Rule with RETURNING claims incorrect type In-reply-to: <53B411E3.6070100@freenet.de> References: <20140702130537.5170.32873@wrigleys.postgresql.org> <53B40E5B.1050209@joh.to> <53B411E3.6070100@freenet.de> Comments: In-reply-to Matthias Raffelsieper message dated "Wed, 02 Jul 2014 16:06:27 +0200" Date: Wed, 02 Jul 2014 12:45:26 -0400 Message-ID: <9482.1404319526@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Matthias Raffelsieper writes: > It would however have helped if I had gotten back the expected type and > the actually provided type; even in verbose mode this was not supplied. Yeah, I came to the same conclusion. I've done something about this: http://git.postgresql.org/gitweb/?p=postgresql.git;a=commitdiff;h=7980ab30ecf36162699f138697e2ff5589d9063e regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs