summaryrefslogtreecommitdiff
path: root/contrib/bloom
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/bloom
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/bloom')
-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
5 files changed, 5 insertions, 5 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"