Return from stored procedures - Mailing list pgsql-sql

From Graham Vickrage
Subject Return from stored procedures
Date
Msg-id NDBBJABDILOPAOOMFJHOOEIBCFAA.graham@digitalplanit.com
Whole thread Raw
Responses Re: Return from stored procedures
List 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



pgsql-sql by date:

Previous
From: "Gerhard Dieringer"
Date:
Subject: Re: Requests for Development
Next
From: KuroiNeko
Date:
Subject: Re: Re: Requests for Development