aboutsummaryrefslogtreecommitdiff
path: root/src/backend/utils/cache
diff options
context:
space:
mode:
authorMichael Paquier <michael@paquier.xyz>2019-12-25 10:23:39 +0900
committerMichael Paquier <michael@paquier.xyz>2019-12-25 10:23:39 +0900
commit8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7 (patch)
treed054ac120b8d3496bffca18bf5c165205e8f44df /src/backend/utils/cache
parentc4dcd9144ba64946c9f9466748bdb2c51719c8a3 (diff)
downloadpostgresql-8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7.tar.gz
postgresql-8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7.zip
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/cache')
-rw-r--r--src/backend/utils/cache/catcache.c2
-rw-r--r--src/backend/utils/cache/evtcache.c2
-rw-r--r--src/backend/utils/cache/relfilenodemap.c2
-rw-r--r--src/backend/utils/cache/ts_cache.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/utils/cache/catcache.c b/src/backend/utils/cache/catcache.c
index c3e7d94aa5b..9ce04af9a9c 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 1b0f7383212..510160c8870 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 d244eaf4d8c..693501067ad 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 68c04d87d51..487d3cadeee 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"