Unknown kind of return type specified for function

Поиск
Список
Период
Сортировка
Искать
От
Avi Schwartz
Тема
Unknown kind of return type specified for function
Дата
Msg-id
B7ED9133-9EBB-11D7-BD41-000393AE5044@CFFtechnologies.com
Список
Дерево обсуждения
Unknown kind of return type specified for function Avi Schwartz <avi@CFFtechnologies.com>
Re: Unknown kind of return type specified for function Tom Lane <tgl@sss.pgh.pa.us>
Re: Unknown kind of return type specified for function Avi Schwartz <avi@CFFtechnologies.com>
Re: Unknown kind of return type specified for function Tom Lane <tgl@sss.pgh.pa.us>
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 по дате отправления
От: Nigel J. Andrews
Дата:
От: Mark Kirkwood
Дата:
FAQ