diff options
| author | Michael Paquier <michael@paquier.xyz> | 2019-12-25 10:23:39 +0900 |
|---|---|---|
| committer | Michael Paquier <michael@paquier.xyz> | 2019-12-25 10:23:39 +0900 |
| commit | 8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7 (patch) | |
| tree | d054ac120b8d3496bffca18bf5c165205e8f44df /src/backend/utils | |
| parent | c4dcd9144ba64946c9f9466748bdb2c51719c8a3 (diff) | |
| download | postgresql-8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7.tar.gz | |
Rename files and headers related to index AM
The following renaming is done so as source files related to index
access methods are more consistent with table access methods (the
original names used for index AMs ware too generic, and could be
confused as including features related to table AMs):
- amapi.h -> indexam.h.
- amapi.c -> indexamapi.c. Here we have an equivalent with
backend/access/table/tableamapi.c.
- amvalidate.c -> indexamvalidate.c.
- amvalidate.h -> indexamvalidate.h.
- genam.c -> indexgenam.c.
- genam.h -> indexgenam.h.
This has been discussed during the development of v12 when table AM was
worked on, but the renaming never happened.
Author: Michael Paquier
Reviewed-by: Fabien Coelho, Julien Rouhaud
Discussion: https://postgr.es/m/20191223053434.GF34339@paquier.xyz
Diffstat (limited to 'src/backend/utils')
| -rw-r--r-- | src/backend/utils/adt/amutils.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/adt/enum.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/adt/ruleutils.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/catcache.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/evtcache.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/relfilenodemap.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/cache/ts_cache.c | 2 | ||||
| -rw-r--r-- | src/backend/utils/init/postinit.c | 2 |
8 files changed, 8 insertions, 8 deletions
diff --git a/src/backend/utils/adt/amutils.c b/src/backend/utils/adt/amutils.c index e81d6cc056..6de33886db 100644 --- a/src/backend/utils/adt/amutils.c +++ b/src/backend/utils/adt/amutils.c @@ -13,8 +13,8 @@ */ #include "postgres.h" -#include "access/amapi.h" #include "access/htup_details.h" +#include "access/indexam.h" #include "catalog/pg_class.h" #include "catalog/pg_index.h" #include "utils/builtins.h" diff --git a/src/backend/utils/adt/enum.c b/src/backend/utils/adt/enum.c index 3402ff860d..000572c5b3 100644 --- a/src/backend/utils/adt/enum.c +++ b/src/backend/utils/adt/enum.c @@ -13,8 +13,8 @@ */ #include "postgres.h" -#include "access/genam.h" #include "access/htup_details.h" +#include "access/indexgenam.h" #include "access/table.h" #include "catalog/indexing.h" #include "catalog/pg_enum.h" diff --git a/src/backend/utils/adt/ruleutils.c b/src/backend/utils/adt/ruleutils.c index 4af1603e7c..bdf78db8c8 100644 --- a/src/backend/utils/adt/ruleutils.c +++ b/src/backend/utils/adt/ruleutils.c @@ -19,8 +19,8 @@ #include <unistd.h> #include <fcntl.h> -#include "access/amapi.h" #include "access/htup_details.h" +#include "access/indexam.h" #include "access/relation.h" #include "access/sysattr.h" #include "access/table.h" diff --git a/src/backend/utils/cache/catcache.c b/src/backend/utils/cache/catcache.c index c3e7d94aa5..9ce04af9a9 100644 --- a/src/backend/utils/cache/catcache.c +++ b/src/backend/utils/cache/catcache.c @@ -14,8 +14,8 @@ */ #include "postgres.h" -#include "access/genam.h" #include "access/heaptoast.h" +#include "access/indexgenam.h" #include "access/relscan.h" #include "access/sysattr.h" #include "access/table.h" diff --git a/src/backend/utils/cache/evtcache.c b/src/backend/utils/cache/evtcache.c index 1b0f738321..510160c887 100644 --- a/src/backend/utils/cache/evtcache.c +++ b/src/backend/utils/cache/evtcache.c @@ -13,8 +13,8 @@ */ #include "postgres.h" -#include "access/genam.h" #include "access/htup_details.h" +#include "access/indexgenam.h" #include "access/relation.h" #include "catalog/indexing.h" #include "catalog/pg_event_trigger.h" diff --git a/src/backend/utils/cache/relfilenodemap.c b/src/backend/utils/cache/relfilenodemap.c index d244eaf4d8..693501067a 100644 --- a/src/backend/utils/cache/relfilenodemap.c +++ b/src/backend/utils/cache/relfilenodemap.c @@ -13,8 +13,8 @@ */ #include "postgres.h" -#include "access/genam.h" #include "access/htup_details.h" +#include "access/indexgenam.h" #include "access/table.h" #include "catalog/indexing.h" #include "catalog/pg_class.h" diff --git a/src/backend/utils/cache/ts_cache.c b/src/backend/utils/cache/ts_cache.c index 68c04d87d5..487d3cadee 100644 --- a/src/backend/utils/cache/ts_cache.c +++ b/src/backend/utils/cache/ts_cache.c @@ -26,8 +26,8 @@ */ #include "postgres.h" -#include "access/genam.h" #include "access/htup_details.h" +#include "access/indexgenam.h" #include "access/table.h" #include "access/xact.h" #include "catalog/indexing.h" diff --git a/src/backend/utils/init/postinit.c b/src/backend/utils/init/postinit.c index cc38669a1e..5375653a42 100644 --- a/src/backend/utils/init/postinit.c +++ b/src/backend/utils/init/postinit.c @@ -19,9 +19,9 @@ #include <fcntl.h> #include <unistd.h> -#include "access/genam.h" #include "access/heapam.h" #include "access/htup_details.h" +#include "access/indexgenam.h" #include "access/session.h" #include "access/sysattr.h" #include "access/tableam.h" |
