Re: Help with INSERT into 2 tables - Mailing list pgsql-sql

From Josh Berkus
Subject Re: Help with INSERT into 2 tables
Date
Msg-id web-507621@davinci.ethosmedia.com
Whole thread Raw
In response to Re: Help with INSERT into 2 tables  ("Andrew G. Hammond" <drew@xyzzy.dhs.org>)
List pgsql-sql
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
informationtechnology      josh@agliodbs.com  and data management solutions       (415) 565-7293 for law firms, small
businesses       fax 621-2533   and non-profit organizations.      San Francisco
 


pgsql-sql by date:

Previous
From: Stephan Szabo
Date:
Subject: Re: between syntax
Next
From: Peter Eisentraut
Date:
Subject: Re: between syntax