Re: Ridicolus Postgresql review

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Gunnar Rønning <gunnar(at)polygnosis(dot)com>
Cc: <andrea(dot)aime(at)comune(dot)modena(dot)it>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Ridicolus Postgresql review
Date: 2001-09-11 15:05:06
Message-ID: Pine.LNX.4.30.0109111657390.680-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Gunnar Rønning writes:

> I can't find anything in the documentation in PostgreSQL on how to make
> a stored procedure return a result set. AFAIK it cannot and then it is not
> really fair to claim that pgsql has stored procedures.

There seems to be a rather narrow view of what a stored procedure is. A
procedure is just a sequence of statements collected under a name,
possibly parametrized. "Stored" simply means that it's stored in the
server. PostgreSQL supports both of these things just fine. A whole
'nother thing is the ability to return result sets from functions.

OK, other vendors may call the latter for "stored procedures", but that is
terminological nonsense. And going out there writing an article claiming
that in PostgreSQL "users do not have the ability to create their own
stored procedures", without further qualification, is confusing at best.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Steve Wolfe 2001-09-11 15:53:01 Re: How to make a REALLY FAST db server?
Previous Message Gunnar Rønning 2001-09-11 13:11:44 Re: Ridicolus Postgresql review