diff options
author | Andres Freund | 2019-01-22 01:36:55 +0000 |
---|---|---|
committer | Andres Freund | 2019-01-22 01:36:55 +0000 |
commit | 346ed70b0ad7efc574711a97812692dab4542712 (patch) | |
tree | df7dfc97f786c3ed0e8ed841be5dd8304ea0ca0d /src/backend/executor/nodeIndexscan.c | |
parent | ebcc7bf949bae614cccc6b86e3ef9b926a6e2f99 (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/[email protected]
Diffstat (limited to 'src/backend/executor/nodeIndexscan.c')
-rw-r--r-- | src/backend/executor/nodeIndexscan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/backend/executor/nodeIndexscan.c b/src/backend/executor/nodeIndexscan.c index f255551786e..cdf1ad09de3 100644 --- a/src/backend/executor/nodeIndexscan.c +++ b/src/backend/executor/nodeIndexscan.c @@ -1527,7 +1527,7 @@ ExecIndexBuildScanKeys(PlanState *planstate, Relation index, Assert(rightop != NULL); - if (index->rd_amroutine->amsearcharray) + if (index->rd_indam->amsearcharray) { /* Index AM will handle this like a simple operator */ flags |= SK_SEARCHARRAY; |