Alfonso Peniche <alfonso(at)iteso(dot)mx> writes:
> NOTICE: plpgsql: ERROR during compile of registrarconexion near line 1
> "RROR: parse error at or near "
The overwriting of the initial "E" suggests that the thing is
trying to complain about a carriage return (\r). Probably you
saved your script from an editor that stores newlines in DOS
style (\r\n) rather than Unix style (\n). plpgsql doesn't think
that \r is whitespace. That's been changed for 7.1, but in the
meantime you need a less Microsofty editor.
regards, tom lane