"Daniel T. Staal" <DStaal@usa.net> writes:
> I have a function I'm working on that I'm trying to get working, and I
> can't make out what the error message means, so I thought I'd run it
> through here.
> The error I'm getting is:
> ERROR: syntax error at or near "ABSOLUTE" at character 344
> LINE 13: FETCH ABSOLUTE start FROM cursl INTO r;
> ^
There is no FETCH ABSOLUTE in plpgsql, sorry. It has its own FETCH
statement which does not work anything like the main SQL engine's
FETCH. See
http://www.postgresql.org/docs/8.0/static/plpgsql-cursors.html#PLPGSQL-CURSOR-USING
regards, tom lane