Re: Scan Direction not part of ScanState? - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Scan Direction not part of ScanState?
Date
Msg-id 13687.1129038682@sss.pgh.pa.us
Whole thread Raw
In response to Scan Direction not part of ScanState?  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-hackers
Martijn van Oosterhout <kleptog@svana.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


pgsql-hackers by date:

Previous
From: "Dave Page"
Date:
Subject: Re: NZ mirror
Next
From: "Jonah H. Harris"
Date:
Subject: Re: slow IN() clause for many cases