Re: 8.1 and syntax checking at create time

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: 8.1 and syntax checking at create time
Дата
Msg-id 3566.1125513880@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: 8.1 and syntax checking at create time  (Tony Caduto <tony_caduto@amsoftwaredesign.com>)
Список pgsql-hackers
Tony Caduto <tony_caduto@amsoftwaredesign.com> writes:
> CREATE or REPLACE FUNCTION public.test_func9(out firstname varchar,out 
> lastname varchar)
> RETURNS SETOF pg_catalog.record AS
> $BODY$
> Declare
> row record44;
> BEGIN
>     asfdfdfdfafdsfsdfsdf
>     sdf bla bla
>     sdf yada yada
>     s
>     df
>     sd
>     fsd
> END;
> $BODY$
> LANGUAGE 'plpgsql' VOLATILE;

[ looks at that again... ]  Wait, are you sure that you are talking to
an 8.1 server?  8.1 will certainly catch the garbage syntax in the
function body, whether or not it notices that the type name is bogus.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 8.1 and syntax checking at create time
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: 8.1 and syntax checking at create time