[prev in list] [next in list] [prev in thread] [next in thread]
List: postgresql-sql
Subject: Re: [SQL] left join in cursor
From: Tom Lane <tgl () sss ! pgh ! pa ! us>
Date: 2003-06-10 13:35:23
[Download RAW message or body]
Alexey Dashevsky <alex@kpgaz.chernigov.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
---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?
http://www.postgresql.org/docs/faqs/FAQ.html
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic