From: Markus Schaber <schabios@logi-track.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: prepared statement call fails
Date: Thu, 9 Dec 2004 11:20:22 +0100
Message-ID: <20041209112022.7de2c0b7@kingfisher.intern.logi-track.com> (raw)
In-Reply-To: <thhal-0qzqPAq+JcC4JMVWy0uhu5aGt4SMIfJ@mailblocks.com>
References: <d15ea14a0412051050399cd69b@mail.gmail.com>
<41B35CC6.2030800@mailblocks.com>
<d15ea14a04120511366efd4b9c@mail.gmail.com>
<41B3663B.1010003@mailblocks.com>
<thhal-0vf6OAs2HcC4EOCO9kFe0y/p7mAxh7m@mailblocks.com>
<thhal-0vv6OAs+HcC4bv5Tf2D5MH8fUmr8Wr9@mailblocks.com>
<41B37F31.1070205@opencloud.com>
<41B39169.2060308@mailblocks.com>
<thhal-07imPAseIcC4Dwrlj3jsQjacxd46QTg@mailblocks.com>
<41B39B6C.9020808@opencloud.com>
<41B3A220.40608@mailblocks.com>
<thhal-0qTqPAq2JcC4w4zZYP1zaEJ14PfH3hw@mailblocks.com>
<thhal-0qzqPAq+JcC4JMVWy0uhu5aGt4SMIfJ@mailblocks.com>
Hi, Thomas,
On Mon, 06 Dec 2004 01:04:48 +0100
Thomas Hallgren <thhal@mailblocks.com> wrote:
> Oliver Jowett wrote:
>
> > If you have some particular concerns about how the proposed SP syntax,
> > whatever it is, is going to break the JDBC driver, by all means raise
> > them.. but this seems like vague handwaving at the moment.
>
> I agree that abandoning the current support is a very bad idea. We all
> have to live with it now. I was surprised to see that it was implemented
> this way though. My guess is that it's uncommon. It's certanly doable
> although you will need to dynamically support both mappings once the
> real SP's arrive and also thoroughly explain some subtle differences in
> how auto-commit works one way if the underlying code calls a function
> 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.
So maybe we should try to influence the server hackers to go into this
direction?
Thanks,
markus
--
markus schaber | dipl. informatiker
logi-track ag | rennweg 14-16 | ch 8001 zürich
phone +41-43-888 62 52 | fax +41-43-888 62 53
mailto:schabios@logi-track.com | www.logi-track.com
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-jdbc@postgresql.org
Cc: schabios@logi-track.com
Subject: Re: prepared statement call fails
In-Reply-To: <20041209112022.7de2c0b7@kingfisher.intern.logi-track.com>
References: <d15ea14a0412051050399cd69b@mail.gmail.com> <41B35CC6.2030800@mailblocks.com> <d15ea14a04120511366efd4b9c@mail.gmail.com> <41B3663B.1010003@mailblocks.com> <thhal-0vf6OAs2HcC4EOCO9kFe0y/p7mAxh7m@mailblocks.com> <thhal-0vv6OAs+HcC4bv5Tf2D5MH8fUmr8Wr9@mailblocks.com> <41B37F31.1070205@opencloud.com> <41B39169.2060308@mailblocks.com> <thhal-07imPAseIcC4Dwrlj3jsQjacxd46QTg@mailblocks.com> <41B39B6C.9020808@opencloud.com> <41B3A220.40608@mailblocks.com> <thhal-0qTqPAq2JcC4w4zZYP1zaEJ14PfH3hw@mailblocks.com> <thhal-0qzqPAq+JcC4JMVWy0uhu5aGt4SMIfJ@mailblocks.com> <20041209112022.7de2c0b7@kingfisher.intern.logi-track.com>
* 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