summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorMichael Paquier2019-12-25 01:23:39 +0000
committerMichael Paquier2019-12-25 01:23:39 +0000
commit8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7 (patch)
treed054ac120b8d3496bffca18bf5c165205e8f44df /contrib
parentc4dcd9144ba64946c9f9466748bdb2c51719c8a3 (diff)
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 'contrib')
-rw-r--r--contrib/bloom/blinsert.c2
-rw-r--r--contrib/bloom/bloom.h2
-rw-r--r--contrib/bloom/blutils.c2
-rw-r--r--contrib/bloom/blvacuum.c2
-rw-r--r--contrib/bloom/blvalidate.c2
-rw-r--r--contrib/sepgsql/database.c2
-rw-r--r--contrib/sepgsql/label.c2
-rw-r--r--contrib/sepgsql/proc.c2
-rw-r--r--contrib/sepgsql/relation.c2
-rw-r--r--contrib/sepgsql/schema.c2
10 files changed, 10 insertions, 10 deletions
diff --git a/contrib/bloom/blinsert.c b/contrib/bloom/blinsert.c
index adcbd168fb..5df616e96e 100644
--- a/contrib/bloom/blinsert.c
+++ b/contrib/bloom/blinsert.c
@@ -12,8 +12,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/generic_xlog.h"
+#include "access/indexgenam.h"
#include "access/tableam.h"
#include "bloom.h"
#include "catalog/index.h"
diff --git a/contrib/bloom/bloom.h b/contrib/bloom/bloom.h
index a7179981f4..5a6e5e48a1 100644
--- a/contrib/bloom/bloom.h
+++ b/contrib/bloom/bloom.h
@@ -13,8 +13,8 @@
#ifndef _BLOOM_H_
#define _BLOOM_H_
-#include "access/amapi.h"
#include "access/generic_xlog.h"
+#include "access/indexam.h"
#include "access/itup.h"
#include "access/xlog.h"
#include "fmgr.h"
diff --git a/contrib/bloom/blutils.c b/contrib/bloom/blutils.c
index e2063bac62..44b7e74c5c 100644
--- a/contrib/bloom/blutils.c
+++ b/contrib/bloom/blutils.c
@@ -13,8 +13,8 @@
*/
#include "postgres.h"
-#include "access/amapi.h"
#include "access/generic_xlog.h"
+#include "access/indexam.h"
#include "access/reloptions.h"
#include "bloom.h"
#include "catalog/index.h"
diff --git a/contrib/bloom/blvacuum.c b/contrib/bloom/blvacuum.c
index 0c33d1e195..f0a5d8cc5e 100644
--- a/contrib/bloom/blvacuum.c
+++ b/contrib/bloom/blvacuum.c
@@ -12,7 +12,7 @@
*/
#include "postgres.h"
-#include "access/genam.h"
+#include "access/indexgenam.h"
#include "bloom.h"
#include "catalog/storage.h"
#include "commands/vacuum.h"
diff --git a/contrib/bloom/blvalidate.c b/contrib/bloom/blvalidate.c
index b3dfe03022..ca2cb095f0 100644
--- a/contrib/bloom/blvalidate.c
+++ b/contrib/bloom/blvalidate.c
@@ -12,8 +12,8 @@
*/
#include "postgres.h"
-#include "access/amvalidate.h"
#include "access/htup_details.h"
+#include "access/indexamvalidate.h"
#include "bloom.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_amproc.h"
diff --git a/contrib/sepgsql/database.c b/contrib/sepgsql/database.c
index 5850e076eb..1fe30e34e4 100644
--- a/contrib/sepgsql/database.c
+++ b/contrib/sepgsql/database.c
@@ -10,8 +10,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/htup_details.h"
+#include "access/indexgenam.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "catalog/dependency.h"
diff --git a/contrib/sepgsql/label.c b/contrib/sepgsql/label.c
index d8a1d129d2..083897aa39 100644
--- a/contrib/sepgsql/label.c
+++ b/contrib/sepgsql/label.c
@@ -12,8 +12,8 @@
#include <selinux/label.h>
-#include "access/genam.h"
#include "access/htup_details.h"
+#include "access/indexgenam.h"
#include "access/table.h"
#include "access/xact.h"
#include "catalog/catalog.h"
diff --git a/contrib/sepgsql/proc.c b/contrib/sepgsql/proc.c
index 345a4c253d..47382994e2 100644
--- a/contrib/sepgsql/proc.c
+++ b/contrib/sepgsql/proc.c
@@ -10,8 +10,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/htup_details.h"
+#include "access/indexgenam.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "catalog/dependency.h"
diff --git a/contrib/sepgsql/relation.c b/contrib/sepgsql/relation.c
index fa34221509..4b1f772fc2 100644
--- a/contrib/sepgsql/relation.c
+++ b/contrib/sepgsql/relation.c
@@ -10,8 +10,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/htup_details.h"
+#include "access/indexgenam.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "catalog/dependency.h"
diff --git a/contrib/sepgsql/schema.c b/contrib/sepgsql/schema.c
index 00c227d86c..42001bf133 100644
--- a/contrib/sepgsql/schema.c
+++ b/contrib/sepgsql/schema.c
@@ -10,8 +10,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/htup_details.h"
+#include "access/indexgenam.h"
#include "access/sysattr.h"
#include "access/table.h"
#include "catalog/dependency.h"