Re: [GENERAL] stored procedure revisited

From: Adriaan Joubert <a(dot)joubert(at)albourne(dot)com>
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 05:21:40
Message-ID: 380416E4.624CFA22@albourne.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Right, PSQL functions cannot return more than one value or a row from a
table which is a pain. But inside these routines you can do quite a lot.
With PL you can write quite complex functions, and if that is too slow
you can write C routines with SPI and call those. In C routines you can
store the query plan. It really is easy -- just look at the examples in
contrib and the docs.

And if the fact that you cannot get more than one value returned bothers
you -- well, time to roll up your sleeves and fix it. That's what
opensource is all about, after all ;-)

Adriaan

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christopher A. Stewart 1999-10-13 05:26:52 [GENERAL] postmaster respawning too fast
Previous Message Gene Selkov, Jr. 1999-10-13 04:48:45 Re: [GENERAL] postmaster respawning too fast