From: Graham Vickrage <graham@digitalplanit.com>
To: postgresql <pgsql-sql@postgresql.org>
Subject: Return from stored procedures
Date: Fri, 10 Nov 2000 09:24:24 -0000
Message-ID: <NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: graham@digitalplanit.com
Subject: Re: Return from stored procedures
In-Reply-To: <NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com>
References: <NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox