Re: Fails to add function from file with \i in psql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Fails to add function from file with \i in psql
Дата
Msg-id 5482.975287219@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Fails to add function from file with \i in psql  (pgsql-bugs@postgresql.org)
Список pgsql-bugs
pgsql-bugs@postgresql.org writes:
> psql:triggertest.sql:4: NOTICE:  plpgsql: ERROR during compile of c_fnc
> near line 1
> "sql:triggertest.sql:4: ERROR:  parse error at or near "

Sounds like you saved your file with DOS-style newlines (\r\n).  The
plpgsql parser doesn't think \r is whitespace.  That's changed for 7.1,
but in the meantime use a less Microsofty editor...

            regards, tom lane

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

Предыдущее
От: pgsql-bugs@postgresql.org
Дата:
Сообщение: Special character pervents psql from parsing?
Следующее
От: Dmitry Gercog
Дата:
Сообщение: call plpgsql function bug! (set arguments to NULL)