From: Josh Berkus <josh@agliodbs.com>
To: Andrew G. Hammond <drew@xyzzy.dhs.org>
To: gntrs@hotmail.com
To: pgsql-sql@postgresql.org
Subject: Re: Help with INSERT into 2 tables
Date: Fri, 16 Nov 2001 08:47:47 -0800
Message-ID: <web-507621@davinci.ethosmedia.com> (raw)
In-Reply-To: <E164cFl-0003nB-00@xyzzy.lan.internal>
Andrew,
> I'd really like to figure out how to write a function that doesn't
> return
> anything (a "procedure" for all you pedantic CS types). Oh well.
Easy. Try:
CREATE FUNCTION ... RETURNS OPAQUE AS '
All triggers are expected to return Opaque, that is, nothing.
FYI, A "procedure" in SQL92 terms is waht we in Postgres call a
Function, except that Stored Procedures can return one or more result
sets as well/instead of a value.
-Josh
______AGLIO DATABASE SOLUTIONS___________________________
Josh Berkus
Complete information technology josh@agliodbs.com
and data management solutions (415) 565-7293
for law firms, small businesses fax 621-2533
and non-profit organizations. San Francisco
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: josh@agliodbs.com, drew@xyzzy.dhs.org, gntrs@hotmail.com
Subject: Re: Help with INSERT into 2 tables
In-Reply-To: <web-507621@davinci.ethosmedia.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