Re: Parse error help needed...

Поиск
Список
Период
Сортировка
От Alex Satrapa
Тема Re: Parse error help needed...
Дата
Msg-id 40034256.30107@lintelsys.com.au
обсуждение исходный текст
Ответ на Parse error help needed...  ("Thapliyal, Deepak" <dthapliyal@soe.sony.com>)
Список pgsql-general
Thapliyal, Deepak wrote:
> create function loadme() return text as '

try "RETURNS" instead of "RETURN"

[the guys writing the function parser might want to consider reporting
what the parser was expecting at this point]

> Declare
>    s_out text ;
> Begin
>   For i in 1..10000 loop
>     insert into test values (i,''Test'');
>   end loop;
> return s_out;
> End;
> ' language 'plpgsql';

The rest looks fine (works for me - yes I tested it this time)

Alex Satrapa


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

Предыдущее
От: "Thapliyal, Deepak"
Дата:
Сообщение: Re: Parse error help needed...
Следующее
От: "Chris Ochs"
Дата:
Сообщение: Re: sql insert function