Re: Scan Direction not part of ScanState?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Martijn van Oosterhout <kleptog(at)svana(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Scan Direction not part of ScanState?
Date: 2005-10-11 13:51:22
Message-ID: 13687.1129038682@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Martijn van Oosterhout <kleptog(at)svana(dot)org> writes:
> I notice that the IndexScan code looks up the scan direction each
> invocation by looking up the direction of the plan. Does this mean the
> direction can change in the middle of a scan? Is this how MOVE
> FORWARD/BACKWARD works?

Yes, yes.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Jonah H. Harris 2005-10-11 15:02:32 Re: slow IN() clause for many cases
Previous Message Greg Sabino Mullane 2005-10-11 13:42:38 Re: PG 8.1beta3 out soon