diff options
author | Michael Paquier | 2019-12-25 01:23:39 +0000 |
---|---|---|
committer | Michael Paquier | 2019-12-25 01:23:39 +0000 |
commit | 8ce3aa9b5914d1ac45ed3f9bc484f66b3c4850c7 (patch) | |
tree | d054ac120b8d3496bffca18bf5c165205e8f44df /contrib/bloom | |
parent | c4dcd9144ba64946c9f9466748bdb2c51719c8a3 (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/[email protected]
Diffstat (limited to 'contrib/bloom')
-rw-r--r-- | contrib/bloom/blinsert.c | 2 | ||||
-rw-r--r-- | contrib/bloom/bloom.h | 2 | ||||
-rw-r--r-- | contrib/bloom/blutils.c | 2 | ||||
-rw-r--r-- | contrib/bloom/blvacuum.c | 2 | ||||
-rw-r--r-- | contrib/bloom/blvalidate.c | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/contrib/bloom/blinsert.c b/contrib/bloom/blinsert.c index adcbd168fb6..5df616e96ee 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 a7179981f47..5a6e5e48a1a 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 e2063bac629..44b7e74c5cd 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 0c33d1e1951..f0a5d8cc5e9 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 b3dfe030226..ca2cb095f01 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" |