Re: create function

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: create function
Дата
Msg-id 24709.973155034@sss.pgh.pa.us
обсуждение исходный текст
Ответ на create function  (Pam Withnall <Pamw@zoom.com.au>)
Список pgsql-hackers
Pam Withnall <Pamw@zoom.com.au> writes:
> When i call the function from sql
> SELECT sptest3(4) AS x;
> I get the error:

> "NOTICE:  plpgsql: ERROR during compile of sptest3 near line 1
> "RROR:  parse error at or near "

The message looks just like that, eh?  I bet it's unhappy because your
function text contains DOS-style newlines (\r\n) not Unix-style (\n).

7.1 plpgsql will accept \r as whitespace, but current releases don't.
In the meantime, save your script in a not-so-Microsoft-oriented editor.
        regards, tom lane


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

Предыдущее
От: Zeugswetter Andreas SB
Дата:
Сообщение: AW: Re: [GENERAL] Query caching
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Contexts