Scan Direction not part of ScanState?

From: Martijn van Oosterhout <kleptog(at)svana(dot)org>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Scan Direction not part of ScanState?
Date: 2005-10-11 07:28:00
Message-ID: 20051011072759.GA22806@svana.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

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?

I've traced the code and it *appears* this is what's happening, but can
anyone clarify?

Thanks in advance,
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> Patent. n. Genius is 5% inspiration and 95% perspiration. A patent is a
> tool for doing 5% of the work and then sitting around waiting for someone
> else to do the other 95% so you can sue them.

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Magnus Hagander 2005-10-11 09:06:43 Re: LDAP Authentication?
Previous Message Paresh Bafna 2005-10-11 07:18:03 Implementing Multi-relation/column keyword indices