From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alexey Dashevsky <alex@kpgaz.chernigov.ua>
Cc: pgsql-sql <pgsql-sql@postgresql.org>
Subject: Re: left join in cursor
Date: Tue, 10 Jun 2003 09:35:23 -0400
Message-ID: <2110.1055252123@sss.pgh.pa.us> (raw)
In-Reply-To: <20030609142058.877FD1933F@kpgaz.chernigov.ua>
References: <20030609142058.877FD1933F@kpgaz.chernigov.ua>
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, alex@kpgaz.chernigov.ua
Subject: Re: left join in cursor
In-Reply-To: <2110.1055252123@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox