diff options
| author | Tom Lane | 2011-10-16 19:39:24 +0000 |
|---|---|---|
| committer | Tom Lane | 2011-10-16 19:39:24 +0000 |
| commit | 9e8da0f75731aaa7605cf4656c21ea09e84d2eb1 (patch) | |
| tree | 1776d3f5e68d5ab997851fcfcc3cc684a64e2058 /src/include/nodes | |
| parent | 0898d71f66ed884af726556ac9ffc8081dddc757 (diff) | |
Teach btree to handle ScalarArrayOpExpr quals natively.
This allows "indexedcol op ANY(ARRAY[...])" conditions to be used in plain
indexscans, and particularly in index-only scans.
Diffstat (limited to 'src/include/nodes')
| -rw-r--r-- | src/include/nodes/relation.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/nodes/relation.h b/src/include/nodes/relation.h index ef84e9f138d..2925d7e7659 100644 --- a/src/include/nodes/relation.h +++ b/src/include/nodes/relation.h @@ -490,8 +490,9 @@ typedef struct IndexOptInfo bool unique; /* true if a unique index */ bool hypothetical; /* true if index doesn't really exist */ bool amcanorderbyop; /* does AM support order by operator result? */ - bool amcanreturn; /* does AM know how to return tuples? */ + bool amcanreturn; /* can AM return IndexTuples? */ bool amoptionalkey; /* can query omit key for the first column? */ + bool amsearcharray; /* can AM handle ScalarArrayOpExpr quals? */ bool amsearchnulls; /* can AM search for NULL/NOT NULL entries? */ bool amhasgettuple; /* does AM have amgettuple interface? */ bool amhasgetbitmap; /* does AM have amgetbitmap interface? */ |
