Re: There is error at the examples in PL/pgSQL

Поиск
Список
Период
Сортировка
От Stephan Szabo
Тема Re: There is error at the examples in PL/pgSQL
Дата
Msg-id Pine.BSF.4.21.0103061123150.69300-100000@megazone23.bigpanda.com
обсуждение исходный текст
Ответ на There is error at the examples in PL/pgSQL  ("Lu Raymond" <raymond_lu99@hotmail.com>)
Список pgsql-admin
You probably copied it from a machine that uses CR/LF rather than LF as
newline.  I think 7.1 handles this but earlier ones will fail.  Trim
the CR characters and it should work.

On Mon, 5 Mar 2001, Lu Raymond wrote:


> Secondly, I execute exam.sql and the postgress can create the table emp,
> the function emp_stamp() and the trigger emp_stamp seccessfully.But when I
> insert one record to table emp, there are some errors on the screen.
>   the insert statement is followings,
>      INSERT INTO emp Values('','','20001220','raymond');
>
> the error of screen is:
> NOTICE: plpgsql: ERROR during compile of emp_stamp near line 1
> "RROR: parse error at or near "
>
> Why? and what wrong is it? Please give me reply as possible as you can.
> Thanks!


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: gmake in /usr/local/src/postgresql-7.1beta5/doc/src return error
Следующее
От: "Christian Anton"
Дата:
Сообщение: Re: createdb fails - Newbie