postgresql/src/backend/commands
David Rowley e9aaf06328 Remove dead NoMovementScanDirection code
Here remove some dead code from heapgettup() and heapgettup_pagemode()
which was trying to support NoMovementScanDirection scans.  This code can
never be reached as standard_ExecutorRun() never calls ExecutePlan with
NoMovementScanDirection.

Additionally, plans which were scanning an unordered index would use
NoMovementScanDirection rather than ForwardScanDirection.  There was no
real need for this, so here we adjust this so we use ForwardScanDirection
for unordered index scans.  A comment in pathnodes.h claimed that
NoMovementScanDirection was used for PathKey reasons, but if that was
true, it no longer is, per code in build_index_paths().

This does change the non-text format of the EXPLAIN output so that
unordered index scans now have a "Forward" scan direction rather than
"NoMovement".  The text format of EXPLAIN has not changed.

Author: Melanie Plageman
Reviewed-by: Tom Lane, David Rowley
Discussion: https://postgr.es/m/CAAKRu_bvkhka0CZQun28KTqhuUh5ZqY=_T8QEqZqOL02rpi2bw@mail.gmail.com
2023-02-01 10:52:41 +13:00
..
Makefile Move parallel vacuum code to vacuumparallel.c. 2021-12-23 11:42:52 +05:30
aggregatecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
alter.c Wake up a subscription's replication worker processes after DDL. 2023-01-06 17:27:58 -05:00
amcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
analyze.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
async.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
cluster.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
collationcmds.c Windows support in pg_import_system_collations 2023-01-03 14:21:56 +01:00
comment.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
constraint.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
conversioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copy.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyfrom.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyfromparse.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
copyto.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
createas.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dbcommands.c Adjust interaction of CREATEROLE with role properties. 2023-01-24 10:57:09 -05:00
define.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
discard.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
dropcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
event_trigger.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
explain.c Remove dead NoMovementScanDirection code 2023-02-01 10:52:41 +13:00
extension.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
foreigncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
functioncmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
indexcmds.c Fix MAINTAIN privileges for toast tables and partitions. 2023-01-14 00:16:23 -08:00
lockcmds.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00
matview.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
meson.build Update copyright for 2023 2023-01-02 15:00:37 -05:00
opclasscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
operatorcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
policy.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
portalcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
prepare.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
proclang.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
publicationcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
schemacmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
seclabel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
sequence.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
statscmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
subscriptioncmds.c Track logrep apply workers' last start times to avoid useless waits. 2023-01-22 14:08:46 -05:00
tablecmds.c Allow REPLICA IDENTITY to be set on an index that's not (yet) valid. 2023-01-21 13:10:29 -05:00
tablespace.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
trigger.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
tsearchcmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
typecmds.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
user.c Adjust interaction of CREATEROLE with role properties. 2023-01-24 10:57:09 -05:00
vacuum.c Revert "Add eager and lazy freezing strategies to VACUUM." 2023-01-25 22:22:27 -08:00
vacuumparallel.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
variable.c Update copyright for 2023 2023-01-02 15:00:37 -05:00
view.c Get rid of the "new" and "old" entries in a view's rangetable. 2023-01-18 13:23:57 -05:00