Return num of deleted rows from function - Mailing list pgsql-general

From Ben-Nes Michael
Subject Return num of deleted rows from function
Date
Msg-id 00fb01c23d2e$48056be0$aa0f5ac2@canaan.co.il
Whole thread Raw
Responses Re: Return num of deleted rows from function
List pgsql-general
Hi All

How can I RETURN from within a function the number of deleted rows ?

like select into var delete from bla bla .... <- can work, or something
similar ?

Thanks in Advance



pgsql-general by date:

Previous
From: Joerg Hessdoerfer
Date:
Subject: Table design question...
Next
From: Moritz Sinn
Date:
Subject: psql: exit status