Re: Stored procedure

From: "steve boyle" <boylesa(at)dial(dot)pipex(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Stored procedure
Date: 2001-10-25 12:25:26
Message-ID: 9r90cl$6mv$1@news.tht.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Erik,

a point that may be important is that AFAIK the postgres implementation does
not allow Recordsets to be returned in the same way that they can in Sybase
/ MS SQL.

As a plus point there is a wide range of languages that can be used via the
cratelang commant incl Tcl, Perl, Python, R, and plpgsql which is probably
closest to the procedural languages that people are used to.

I have seen discussion that the return Recordet functionality was being
looked into but cannot see it on the ToDo list.

(IMO this is a feature that a most Sybase / MS SQL programmers have become
used to as it is a way of implementing a stored procedure data access layer
to the underlying database. FAIK it is impossible to create parameterised
views to simulate this so I think the only solution is to move the
equivalent code to the client. Adding this feature would make the migration
from alternative databases easier and more attractive).

If anyone reading this disagrees with the above or knows a way of
implementing the parameterised / result returning stored procedure please
let me know.

HIH

Steve Boyle
boylesa(at)dial(dot)pipex(dot)com

"John Fabiani" <jfabiani(at)yolo(dot)com> wrote in message
news:9r2buv$119p$1(at)news(dot)tht(dot)net(dot)(dot)(dot)
> Yes. Check out the PL/pgSQL language. You normally use the language to
> create the functions required.
> John
> "DOMA" <nina(dot)gantar(at)email(dot)si> wrote in message
> news:RpvA7(dot)165$x52(dot)5004(at)news(dot)siol(dot)net(dot)(dot)(dot)
> > Does Postgresql has stored procedure.
> >
> > regards erik
> >
> >
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message John Hasler 2001-10-25 12:33:04 Re: GUID in postgres
Previous Message Tille, Andreas 2001-10-25 12:14:13 Re: Snapshot is not working (Solution)