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

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Lu Raymond <raymond_lu99(at)hotmail(dot)com>
Cc: <pgsql-docs(at)postgresql(dot)org>
Subject: Re: There is error at the examples in PL/pgSQL
Date: 2001-03-06 17:56:34
Message-ID: Pine.LNX.4.30.0103061855200.778-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-docs

Lu Raymond writes:

> the error of screen is:
> NOTICE: plpgsql: ERROR during compile of emp_stamp near line 1
> "RROR: parse error at or near "

I might be making this up, but I seem to recall that this is caused by
improper line endings on Windows-like hosts. PL/pgSQL expects its input
to follow Unix convention. (This has been fixed in 7.1 as I recall.)

--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/

In response to

Browse pgsql-docs by date

  From Date Subject
Next Message Bruce Momjian 2001-03-06 18:36:38 Re: docbook2man-spec.pl patch?
Previous Message Bruce Momjian 2001-03-06 17:44:02 Re: [GENERAL] SQL article