aboutsummaryrefslogtreecommitdiff
path: root/src/backend/access/gist
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/access/gist
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/access/gist')
-rw-r--r--src/backend/access/gist/gistbuild.c2
-rw-r--r--src/backend/access/gist/gistbuildbuffers.c2
-rw-r--r--src/backend/access/gist/gistget.c2
-rw-r--r--src/backend/access/gist/gistvacuum.c2
-rw-r--r--src/backend/access/gist/gistvalidate.c2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/backend/access/gist/gistbuild.c b/src/backend/access/gist/gistbuild.c
index 739846a257d..b9b31dd63e0 100644
--- a/src/backend/access/gist/gistbuild.c
+++ b/src/backend/access/gist/gistbuild.c
@@ -16,9 +16,9 @@
#include <math.h>
-#include "access/genam.h"
#include "access/gist_private.h"
#include "access/gistxlog.h"
+#include "access/indexgenam.h"
#include "access/tableam.h"
#include "access/xloginsert.h"
#include "catalog/index.h"
diff --git a/src/backend/access/gist/gistbuildbuffers.c b/src/backend/access/gist/gistbuildbuffers.c
index 38f786848de..39121d5597d 100644
--- a/src/backend/access/gist/gistbuildbuffers.c
+++ b/src/backend/access/gist/gistbuildbuffers.c
@@ -14,8 +14,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/gist_private.h"
+#include "access/indexgenam.h"
#include "catalog/index.h"
#include "miscadmin.h"
#include "storage/buffile.h"
diff --git a/src/backend/access/gist/gistget.c b/src/backend/access/gist/gistget.c
index 98b68920138..dd1df12fc88 100644
--- a/src/backend/access/gist/gistget.c
+++ b/src/backend/access/gist/gistget.c
@@ -14,8 +14,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/gist_private.h"
+#include "access/indexgenam.h"
#include "access/relscan.h"
#include "lib/pairingheap.h"
#include "miscadmin.h"
diff --git a/src/backend/access/gist/gistvacuum.c b/src/backend/access/gist/gistvacuum.c
index 710e4015b3d..c8bb5f96b00 100644
--- a/src/backend/access/gist/gistvacuum.c
+++ b/src/backend/access/gist/gistvacuum.c
@@ -14,8 +14,8 @@
*/
#include "postgres.h"
-#include "access/genam.h"
#include "access/gist_private.h"
+#include "access/indexgenam.h"
#include "access/transam.h"
#include "commands/vacuum.h"
#include "lib/integerset.h"
diff --git a/src/backend/access/gist/gistvalidate.c b/src/backend/access/gist/gistvalidate.c
index dfc1a87a757..3357689970a 100644
--- a/src/backend/access/gist/gistvalidate.c
+++ b/src/backend/access/gist/gistvalidate.c
@@ -13,9 +13,9 @@
*/
#include "postgres.h"
-#include "access/amvalidate.h"
#include "access/gist_private.h"
#include "access/htup_details.h"
+#include "access/indexamvalidate.h"
#include "catalog/pg_amop.h"
#include "catalog/pg_amproc.h"
#include "catalog/pg_opclass.h"