Return from stored procedures

From: "Graham Vickrage" <graham(at)digitalplanit(dot)com>
To: "postgresql" <pgsql-sql(at)postgresql(dot)org>
Subject: Return from stored procedures
Date: 2000-11-10 09:24:24
Message-ID: NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

Probably a very simple question, but how do you define a function that
returns the sucess of an insert or update in a function i.e.

CREATE FUNCTION foo ( varchar, int8 ) RETURNS bool
AS 'UPDATE table WHERE something'
LANGUAGE 'sql';

Cheers

Graham

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message KuroiNeko 2000-11-10 10:00:50 Re: Re: Requests for Development
Previous Message Gerhard Dieringer 2000-11-10 08:26:17 Re: Requests for Development