Re: There is error at the examples in PL/pgSQL - Mailing list pgsql-admin

From Stephan Szabo
Subject Re: There is error at the examples in PL/pgSQL
Date
Msg-id Pine.BSF.4.21.0103061123150.69300-100000@megazone23.bigpanda.com
Whole thread Raw
In response to There is error at the examples in PL/pgSQL  ("Lu Raymond" <raymond_lu99@hotmail.com>)
List 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 by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: gmake in /usr/local/src/postgresql-7.1beta5/doc/src return error
Next
From: "Christian Anton"
Date:
Subject: Re: createdb fails - Newbie