From: Matthias Raffelsieper <hoschiraffel@freenet.de>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #10836: Rule with RETURNING claims incorrect type
Date: Thu, 03 Jul 2014 11:12:28 +0200
Message-ID: <53B51E7C.7020706@freenet.de> (raw)
In-Reply-To: <9482.1404319526@sss.pgh.pa.us>
References: <20140702130537.5170.32873@wrigleys.postgresql.org>
<53B40E5B.1050209@joh.to>
<53B411E3.6070100@freenet.de>
<9482.1404319526@sss.pgh.pa.us>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 07/02/2014 18:45, Tom Lane wrote:
> Matthias Raffelsieper <hoschiraffel@freenet.de> 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=7980ab30ecf36162699f138697e2ff5589...
>
Wow, that was fast, thanks a lot. I just had the time to check it out
and I believe that this also helps in other cases where one might mix up
the RETURNING columns.
Thanks again,
Matt
--
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: hoschiraffel@freenet.de
Subject: Re: BUG #10836: Rule with RETURNING claims incorrect type
In-Reply-To: <53B51E7C.7020706@freenet.de>
References: <20140702130537.5170.32873@wrigleys.postgresql.org> <53B40E5B.1050209@joh.to> <53B411E3.6070100@freenet.de> <9482.1404319526@sss.pgh.pa.us> <53B51E7C.7020706@freenet.de>
* 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