Re: [GENERAL] stored procedure revisited

From: Peter Mount <peter(at)retep(dot)org(dot)uk>
To: Yin-So Chen <ychen1(at)uswest(dot)net>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] stored procedure revisited
Date: 1999-10-13 18:15:49
Message-ID: Pine.LNX.4.10.9910131914030.32422-100000@maidast.retep.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Tue, 12 Oct 1999, Yin-So Chen wrote:

[snip]
>
> I don't know how SP is implemented since none of the commercial RDBMS
> publishes their sources, but they've all claimed that SP saves parsing
> time and saves query plan time (it's generated once and stored). Need
> some database experts to verify this point :) And like you said, it's
> one of the most powerful tools available for database implementation. I
> want the ability simply because of its conceptual abstraction, even if
> w/out any of the performance benefit.
>
> Come on, everybody, speak out your thought on this matter :)

Well, for me it would allow the current kludge that the JDBC driver uses
for PreparedStatement. Having SP would allow that class to temporarily
store the procedure, then only the data would need to be transfered to the
backend. This would improve the majority of JDBC useage enormously.

Peter

--
Peter T Mount peter(at)retep(dot)org(dot)uk
Main Homepage: http://www.retep.org.uk
PostgreSQL JDBC Faq: http://www.retep.org.uk/postgres
Java PDF Generator: http://www.retep.org.uk/pdf

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Peter Eisentraut 1999-10-13 19:56:15 Re: [GENERAL] How do I activate and change the postgres user's password?
Previous Message Howie 1999-10-13 17:29:29 Re: [GENERAL] stored procedure revisited