You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
Here remove some dead code from heapgettup() and heapgettup_pagemode()which was trying to support NoMovementScanDirection scans. This code cannever be reached as standard_ExecutorRun() never calls ExecutePlan withNoMovementScanDirection.Additionally, plans which were scanning an unordered index would useNoMovementScanDirection rather than ForwardScanDirection. There was noreal need for this, so here we adjust this so we use ForwardScanDirectionfor unordered index scans. A comment in pathnodes.h claimed thatNoMovementScanDirection was used for PathKey reasons, but if that wastrue, it no longer is, per code in build_index_paths().This does change the non-text format of the EXPLAIN output so thatunordered index scans now have a "Forward" scan direction rather than"NoMovement". The text format of EXPLAIN has not changed.Author: Melanie PlagemanReviewed-by: Tom Lane, David RowleyDiscussion:https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com