Re: Compile error in function

Поиск
Список
Период
Сортировка
От big_mafa
Тема Re: Compile error in function
Дата
Msg-id 004201c36432$17a88b90$1701a8c0@attila
обсуждение исходный текст
Ответ на Re: Compile error in function  (Stephan Szabo <sszabo@megazone.bigpanda.com>)
Список pgsql-novice
Hi Stephan,

Thanks for your very fast answer - of course, the begin was the problem...

Koszonom!

Regards: Attila


----- Original Message -----
From: "Stephan Szabo" <sszabo@megazone.bigpanda.com>
To: "big_mafa" <big_mafa@freemail.hu>
Cc: <pgsql-novice@postgresql.org>
Sent: Saturday, August 16, 2003 9:49 PM
Subject: Re: [NOVICE] Compile error in function


>
> On Sat, 16 Aug 2003, big_mafa wrote:
>
> > There is a very annoying problem.
> > I created a very simple function, which can be created well, but if I
call
> > it, the following problem occurs:
>
> The function isn't checked until first run.
>
> > ERROR:  parse error at or near "IF"
> > WARNING:  plpgsql: ERROR during compile of cre_kitchen_log near line 1
> >
> > The Function is:
> >
> > CREATE OR REPLACE FUNCTION "public"."cre_kitchen_log" (date) RETURNS
integer
> > AS'
>
> You need a BEGIN here.



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

Предыдущее
От: Stephan Szabo
Дата:
Сообщение: Re: Compile error in function
Следующее
От: "Wayne M. Syvinski"
Дата:
Сообщение: a: queries across databases b: plperl