Delete function - Mailing list pgsql-general

From Secrétariat
Subject Delete function
Date
Msg-id 00b501c4db93$1dbbf830$0a00a8c0@lrp43008
Whole thread Raw
Responses Re: Delete function  (Richard Huxton <dev@archonet.com>)
List pgsql-general
Hello !
 
I create a delete function :
CREATE FUNCTION delalpha(varchar, integer) RETURNS boolean
    AS 'DELETE FROM public.params WHERE soc = $1 AND numpar = $2 ;
          SELECT  TRUE ;'
    LANGUAGE sql ;
Is there a way to return the number of deleted row ?
Thanks.
 
Luc

pgsql-general by date:

Previous
From: Kris Jurka
Date:
Subject: Re: SSL confirmation - No trusted certificate found
Next
From: Andrew M
Date:
Subject: Re: SSL confirmation - No trusted certificate found