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 ---------------------------(end of broadcast)--------------------------- TIP 9: In versions below 8.0, the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match