Unknown kind of return type specified for function - Mailing list pgsql-general

From Avi Schwartz
Subject Unknown kind of return type specified for function
Date
Msg-id B7ED9133-9EBB-11D7-BD41-000393AE5044@CFFtechnologies.com
Whole thread Raw
Responses Re: Unknown kind of return type specified for function
List pgsql-general
I am creating a function that does not return anything so I am trying
the following:

create or replace function splite_delete_configured_selection(int, int,
int, int)
returns void
security definer
as '
declare
...
begin
...
return;
end;
' language 'plpgsql';

but as soon as I try to call this function I get the following error:

ERROR:  Unknown kind of return type specified for function
splite_delete_configured_selection

How do I declare the fact that the function will return nothing?

I am running version 7.3.2.

Thanks.

Avi


pgsql-general by date:

Previous
From: "Nigel J. Andrews"
Date:
Subject: Re: crypt vs password in pg_hba.conf
Next
From: Mark Kirkwood
Date:
Subject: Re: Postgres performance comments from a MySQL user