Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id ABC8C1337B67 for ; Thu, 17 Feb 2011 06:13:52 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 86323-08; Thu, 17 Feb 2011 10:13:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.softperience.eu (static-ip-217-118-26-141.inaddr.intergenia.de [217.118.26.141]) by mail.postgresql.org (Postfix) with ESMTP id 185941337B34; Thu, 17 Feb 2011 06:13:45 -0400 (AST) Received: from mail.softperience.eu (static-ip-217-118-26-141.inaddr.intergenia.de [217.118.26.141]) by mail.softperience.eu (Postfix) with ESMTPA id 42287C000B1; Thu, 17 Feb 2011 11:13:49 +0100 (CET) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 17 Feb 2011 11:13:49 +0100 From: rsmogura To: Oliver Jowett Cc: Lukas Eder , Florian Pflug , Tom Lane , Robert Haas , , Subject: Re: Fwd: [JDBC] Weird issues when reading UDT from stored function In-Reply-To: <4D5CF38D.60200@opencloud.com> References: "\" <4d7cc4033a655539995c240a6f282ab5@mail.softperience.eu> <4D33CD00.6000408@opencloud.com> <4D5BBD1A.7010005@opencloud.com> <4D5BC65D.8070507@opencloud.com> <24907.1297869823@sss.pgh.pa.us>" <4D5C6876.7060805@opencloud.com>" <4D5CF38D.60200@opencloud.com> Message-ID: <260f2c0a23d1bf495aa313f0d0ae36d5@mail.softperience.eu> X-Sender: rsmogura@softperience.eu User-Agent: Roundcube Webmail/0.5-rc X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201102/1645 X-Sequence-Number: 182434 Maybe change in backend to treat complex types marked in relation as COMPLEX in same way as scalar values is solution, actually I don't know. This can be determined by GUC variable so every one can be happy :) On Thu, 17 Feb 2011 23:08:13 +1300, Oliver Jowett wrote: > Lukas Eder wrote: > >> The result set meta data correctly state that there are 6 OUT >> columns. But only the first 2 are actually fetched (because of a >> nested UDT)... > > The data mangling was just a plpgsql syntactic issue, wasn't it? > > Oliver