Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 9B5DC1337B4A for ; Thu, 17 Feb 2011 06:03:21 -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 85665-01; Thu, 17 Feb 2011 10:03:15 +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 C2EC81337B34; Thu, 17 Feb 2011 06:03:13 -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 0FA35C000B1; Thu, 17 Feb 2011 11:03:18 +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:03:18 +0100 From: rsmogura To: Pavel Stehule Cc: Florian Pflug , Oliver Jowett , Tom Lane , Robert Haas , Lukas Eder , , Subject: Re: Fwd: [JDBC] Weird issues when reading UDT from stored function In-Reply-To: References: <201101111946.33083.rsmogura@softperience.eu> <4d7cc4033a655539995c240a6f282ab5@mail.softperience.eu> <4D33CD00.6000408@opencloud.com> <4D5BBD1A.7010005@opencloud.com> <4D5BC65D.8070507@opencloud.com> <4D5C6876.7060805@opencloud.com> <59E6DD07-0A30-498C-976C-04FA2DE2E290@phlo.org> Message-ID: <6e4f051fab6a5b06c7edc76c2a6466de@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/1643 X-Sequence-Number: 182432 Yes new node should be created and added for 8.x and 9.x releases... On Thu, 17 Feb 2011 10:53:19 +0100, Pavel Stehule wrote: > 2011/2/17 Florian Pflug : >> On Feb17, 2011, at 10:30 , rsmogura wrote: >>> When JDBC driver will detect if procedure call statement is >>> created. >>> 1. Determine procedure oid - how? procedures may have not qualified >>> name. Is any function on backend that will deal with schema search >>> path? You may need to pass procedure parameters or at least types? or >>> we need to mirror backend code to Java? >> >> That change of getting this correct without help from the backend is >> exactly zero. (Hint: You need to consider overloaded functions and >> implicit casts of parameters...) >> > > There is only one way - implementation of CALL statement. Any > emulation on JDBC level is just way to hell. Now, we have to say - > PostgreSQL doesn't support a CALL statement, support only functions - > and everybody has to use a different pattern than in other databases. > Any emulation on JDBC means, it will be slowly, it will be > unpredictable. > > Regards > > Pavel Stehule > > >> best regards, >> Florian Pflug >> >> >> -- >> Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) >> To make changes to your subscription: >> http://www.postgresql.org/mailpref/pgsql-hackers >>