summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorAndres Freund2019-01-22 01:36:55 +0000
committerAndres Freund2019-01-22 01:36:55 +0000
commit346ed70b0ad7efc574711a97812692dab4542712 (patch)
treedf7dfc97f786c3ed0e8ed841be5dd8304ea0ca0d /src/include
parentebcc7bf949bae614cccc6b86e3ef9b926a6e2f99 (diff)
Rename RelationData.rd_amroutine to rd_indam.
The upcoming table AM support makes rd_amroutine to generic, as its only about index AMs. The new name makes that clear, and is shorter to boot. Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
Diffstat (limited to 'src/include')
-rw-r--r--src/include/utils/rel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/utils/rel.h b/src/include/utils/rel.h
index ff0a3ea45cd..1d054653039 100644
--- a/src/include/utils/rel.h
+++ b/src/include/utils/rel.h
@@ -147,7 +147,7 @@ typedef struct RelationData
Oid rd_amhandler; /* OID of index AM's handler function */
MemoryContext rd_indexcxt; /* private memory cxt for this stuff */
/* use "struct" here to avoid needing to include amapi.h: */
- struct IndexAmRoutine *rd_amroutine; /* index AM's API struct */
+ struct IndexAmRoutine *rd_indam; /* index AM's API struct */
Oid *rd_opfamily; /* OIDs of op families for each index col */
Oid *rd_opcintype; /* OIDs of opclass declared input data types */
RegProcedure *rd_support; /* OIDs of support procedures */