Re: create function problem

Поиск
Список
Период
Сортировка
От Adrian Klaver
Тема Re: create function problem
Дата
Msg-id 4D1CC59D.4030805@gmail.com
обсуждение исходный текст
Ответ на Re: create function problem  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: create function problem
Список pgsql-sql
On 12/30/2010 09:35 AM, Pavel Stehule wrote:
> Hello
>
> you badly use a IF statement. It's not C. Every IF must to finish with END IF
>
> this is
>
> IF .. THEN
> ELSEIF .. THEN ..
> ELSE
> END IF
>
> Regards
>
> Pavel Stehule

To follow up I think the OP was looking for ELSEIF not ELSE IF. Changing 
the ELSE IF to ELSEIF should fix it.


-- 
Adrian Klaver
adrian.klaver@gmail.com


В списке pgsql-sql по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: create function problem
Следующее
От: Gary Stainburn
Дата:
Сообщение: Re: create function problem