X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E64E83A6AE5 for ; Fri, 10 Dec 2004 19:33:28 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 12739-09 for ; Fri, 10 Dec 2004 19:32:47 +0000 (GMT) Received: from svr4.postgresql.org (svr4.postgresql.org [66.98.251.159]) by svr1.postgresql.org (Postfix) with ESMTP id 0EF043A6EE0 for ; Fri, 10 Dec 2004 18:29:31 +0000 (GMT) Received: from mail.logi-track.com (burro.logi-track.com [213.239.193.212]) by svr4.postgresql.org (Postfix) with ESMTP id 200BA5B3417 for ; Thu, 9 Dec 2004 10:20:46 +0000 (GMT) Received: from kingfisher.intern.logi-track.com (J10bc.j.pppool.de [85.74.16.188]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.logi-track.com (Postfix) with ESMTP id 1E1A430381; Thu, 9 Dec 2004 11:20:39 +0100 (CET) Received: from kingfisher.intern.logi-track.com (localhost [127.0.0.1]) by kingfisher.intern.logi-track.com (Postfix) with SMTP id D978816DEAA; Thu, 9 Dec 2004 11:20:22 +0100 (CET) Date: Thu, 9 Dec 2004 11:20:22 +0100 From: Markus Schaber To: pgsql-jdbc@postgresql.org Subject: Re: prepared statement call fails Message-ID: <20041209112022.7de2c0b7@kingfisher.intern.logi-track.com> In-Reply-To: References: <41B35CC6.2030800@mailblocks.com> <41B3663B.1010003@mailblocks.com> <41B37F31.1070205@opencloud.com> <41B39169.2060308@mailblocks.com> <41B39B6C.9020808@opencloud.com> <41B3A220.40608@mailblocks.com> Organization: logi-track ag, =?ISO-8859-15?Q?z=FCrich?= X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-pc-linux-gnu) X-Face: Nx5T&>Nj$VrVPv}sC3IL&)TqHHOKCz/|)R$i"*r@w0{*I6w; UNU_hdl1J4NI_m{IMztq=>cmM}1gCLbAF+9\#CGkG8}Y{x%SuQ>1#t:; Z(|\qdd[i]HStki~#w1$TPF}:0w-7"S\Ev|_a$K wrote: > Oliver Jowett wrote: >=20 > > If you have some particular concerns about how the proposed SP syntax,= =20 > > whatever it is, is going to break the JDBC driver, by all means raise=20 > > them.. but this seems like vague handwaving at the moment. >=20 > I agree that abandoning the current support is a very bad idea. We all=20 > have to live with it now. I was surprised to see that it was implemented= =20 > this way though. My guess is that it's uncommon. It's certanly doable=20 > although you will need to dynamically support both mappings once the=20 > real SP's arrive and also thoroughly explain some subtle differences in=20 > how auto-commit works one way if the underlying code calls a function=20 > and another way if it calls a stored procedure. The question is whether the new SP interface on the server will work for functions as well (as current functions are semantically a subset of what stored procedures can do). This would allow the drivers to always use the new way of calling. As I heard rumors that the stored procedures will be created by extending the current function capability, this sounds possible.=20 So maybe we should try to influence the server hackers to go into this direction? Thanks, markus --=20 markus schaber | dipl. informatiker logi-track ag | rennweg 14-16 | ch 8001 z=FCrich phone +41-43-888 62 52 | fax +41-43-888 62 53 mailto:schabios@logi-track.com | www.logi-track.com