"Dan Wilson" <phpPgAdmin(at)acucore(dot)com> writes:
> I get the following error:
> NOTICE: plpgsql: ERROR during compile of f_auto_date near line 1
> "RROR: parse error at or near "
Just like that, eh? It looks like the parser is spitting up on a \r
in the function text. Try saving your script with Unix-style newlines.
For 7.1 the plpgsql parser has been fixed to accept DOS-ish newlines,
but for now you gotta be careful...
regards, tom lane