Re: Control reached end of trigger procedure without RETURN
| От | Tom Lane |
|---|---|
| Тема | Re: Control reached end of trigger procedure without RETURN |
| Дата | |
| Msg-id | 20377.1295968006@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Control reached end of trigger procedure without RETURN (MoNiLlO <monillo@adinf.es>) |
| Ответы |
Re: Control reached end of trigger procedure without RETURN
Re: Control reached end of trigger procedure without RETURN Re: Control reached end of trigger procedure without RETURN |
| Список | pgsql-sql |
MoNiLlO <monillo@adinf.es> writes:
> When I launch one insert returns error:
> I put the function and the returned error.
> CREATE OR REPLACE FUNCTION ventas_det_a_ventas_imp()
> RETURNS trigger AS
> ...
> ERROR: control reached end of trigger procedure without RETURN
> CONTEXT: PL/pgSQL function "ventas_imp_a_ventas_cab"
The function that's lacking a RETURN is not the one you're showing us.
regards, tom lane
В списке pgsql-sql по дате отправления: