Culley Harrelson <culleyharrelson(at)yahoo(dot)com> writes:
> ok the complete error is:
> ----------------
> NOTICE: plpgsql: ERROR during compile of add_one
> near line 1
> "RROR: parse error near "
> ----------------
Oh, that old thing...
Save the script with a less Microsofty editor, one that thinks newlines
are \n not \r\n. The plpgsql parser doesn't think \r is whitespace.
(Yes, it's been changed for 7.1)
regards, tom lane