Alexey Dashevsky <alex(at)kpgaz(dot)chernigov(dot)ua> writes:
> DECLARE "c" SCROLL CURSOR FOR select a.*,r.b1 as rb1 from a left join b using
> (cl) order by a.cl;
> FETCH FORWARD 100 in "c";
> FETCH FORWARD 100 in "c";
> MOVE -200 in "c";
> [ core dump ]
Some plan node types don't cope very well with being run backwards.
There is a workaround for this in CVS tip, but not in 7.2.* nor (IIRC)
in 7.3.*.
regards, tom lane