diff options
| author | Michael Paquier | 2019-12-26 23:09:00 +0000 |
|---|---|---|
| committer | Michael Paquier | 2019-12-26 23:09:00 +0000 |
| commit | 7854e07f25be3a3dfa9c94011a30767eca3c10ba (patch) | |
| tree | 8ce33a49ebdec40bcccd7892f5106fa9e53989b4 /src/backend/optimizer | |
| parent | 4ba4bfaf256c17fe4c8f497924b74eb98241b84f (diff) | |
Revert "Rename files and headers related to index AM"
This follows multiple complains from Peter Geoghegan, Andres Freund and
Alvaro Herrera that this issue ought to be dug more before actually
happening, if it happens.
Discussion: https://postgr.es/m/20191226144606.GA5659@alvherre.pgsql
Diffstat (limited to 'src/backend/optimizer')
| -rw-r--r-- | src/backend/optimizer/path/costsize.c | 4 | ||||
| -rw-r--r-- | src/backend/optimizer/plan/planner.c | 2 | ||||
| -rw-r--r-- | src/backend/optimizer/util/plancat.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/optimizer/path/costsize.c b/src/backend/optimizer/path/costsize.c index 2911c7a461b..c5f65934859 100644 --- a/src/backend/optimizer/path/costsize.c +++ b/src/backend/optimizer/path/costsize.c @@ -73,8 +73,8 @@ #include <math.h> +#include "access/amapi.h" #include "access/htup_details.h" -#include "access/indexam.h" #include "access/tsmapi.h" #include "executor/executor.h" #include "executor/nodeHash.h" @@ -539,7 +539,7 @@ cost_index(IndexPath *path, PlannerInfo *root, double loop_count, * for scanning the index, as well as the selectivity of the index (ie, * the fraction of main-table tuples we will have to retrieve) and its * correlation to the main-table tuple order. We need a cast here because - * pathnodes.h uses a weak function type to avoid including indexam.h. + * pathnodes.h uses a weak function type to avoid including amapi.h. */ amcostestimate = (amcostestimate_function) index->amcostestimate; amcostestimate(root, path, loop_count, diff --git a/src/backend/optimizer/plan/planner.c b/src/backend/optimizer/plan/planner.c index d63ebb7287c..cb54b15507b 100644 --- a/src/backend/optimizer/plan/planner.c +++ b/src/backend/optimizer/plan/planner.c @@ -18,8 +18,8 @@ #include <limits.h> #include <math.h> +#include "access/genam.h" #include "access/htup_details.h" -#include "access/indexgenam.h" #include "access/parallel.h" #include "access/sysattr.h" #include "access/table.h" diff --git a/src/backend/optimizer/util/plancat.c b/src/backend/optimizer/util/plancat.c index c15654e660c..5e889d18614 100644 --- a/src/backend/optimizer/util/plancat.c +++ b/src/backend/optimizer/util/plancat.c @@ -17,8 +17,8 @@ #include <math.h> +#include "access/genam.h" #include "access/htup_details.h" -#include "access/indexgenam.h" #include "access/nbtree.h" #include "access/sysattr.h" #include "access/table.h" |
