stored procedure revisited

From: Yin-So Chen <ychen1(at)uswest(dot)net>
To: "pgsql-general(at)postgreSQL(dot)org" <pgsql-general(at)postgreSQL(dot)org>
Subject: stored procedure revisited
Date: 1999-10-10 07:33:33
Message-ID: 3800414D.BED408A7@uswest.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I've gone through the mailing list archives and the documentation to
search on this topic, and amazingly there is almost no signs of stored
procedure discussions anywhere. Once a while a person would ask the
question of how to do SP in postgresql, and it will be greeted with
silence. Not that anyone is obligated to reply, but the low volume
about this topic seems to mean:

1. this is a very dumb question, rtfm first.

2. no one knows.

When reading through the documentation, it seems there isn't a way to do
SP like in other databases. The closest thing is the CREATE FUNCTION
command, which can only return one value or a set of one row (of course,
when it's an opaque function it acts just like other SP). This is very
far from the multi-resultset, multi-level transaction SP in other
databases. When I go through the ToDo list, SP is not on it either.

I think I am missing something very obvious here. Can someone please
kind enough explain to me, is there SP for postgresql and where I can
find more information about it? If there isn't, is there any plan for
implementation? Seems there needs to be an extra table that would hold
the parsed query tree and a rewrite of the parser to make SP work.

Regards,

yin-so chen

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Nikos Mouat 1999-10-10 10:32:45 Re: [GENERAL] You are really hosed.
Previous Message Jim Ridenour 1999-10-09 12:53:47 Free Java report writer available