Martin Marques <martin@bugs.unl.edu.ar> writes:
> OK, let me be more specific. I tried this aready with this error:
> 2003-10-20 09:28:05 [27039] ERROR: parser: parse error at or near ")" at
> character 15
> 2003-10-20 09:28:05 [27039] WARNING: plpgsql: ERROR during compile of
> objetosdatosactualizadicc near line 2
Line 2 of the function is not where your assignment is; there seems to
be something wrong with your first variable declaration. I'm not sure
what --- when I copied-and-pasted the text it worked fine. One
possibility is that you seem to have tabs rather than spaces between
the variable name and datatype --- if you are trying to feed this file
in via psql, that could possibly boomerang on you.
regards, tom lane