mirror of
https://github.com/postgres/postgres.git
synced 2025-08-25 20:23:07 +03:00
Remove support for OR'd indexscans internal to a single IndexScan plan
node, as this behavior is now better done as a bitmap OR indexscan. This allows considerable simplification in nodeIndexscan.c itself as well as several planner modules concerned with indexscan plan generation. Also we can improve the sharing of code between regular and bitmap indexscans, since they are now working with nigh-identical Plan nodes.
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/executor/nodeIndexscan.h,v 1.22 2005/04/19 22:35:17 tgl Exp $
|
||||
* $PostgreSQL: pgsql/src/include/executor/nodeIndexscan.h,v 1.23 2005/04/25 01:30:14 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
@@ -24,4 +24,14 @@ extern void ExecIndexMarkPos(IndexScanState *node);
|
||||
extern void ExecIndexRestrPos(IndexScanState *node);
|
||||
extern void ExecIndexReScan(IndexScanState *node, ExprContext *exprCtxt);
|
||||
|
||||
/* routines exported to share code with nodeBitmapIndexscan.c */
|
||||
extern bool ExecIndexBuildScanKeys(PlanState *planstate, List *quals,
|
||||
List *strategies, List *subtypes,
|
||||
ExprState ***runtimeKeyInfo,
|
||||
ScanKey *scanKeys, int *numScanKeys);
|
||||
extern void ExecIndexEvalRuntimeKeys(ExprContext *econtext,
|
||||
ExprState **run_keys,
|
||||
ScanKey scan_keys,
|
||||
int n_keys);
|
||||
|
||||
#endif /* NODEINDEXSCAN_H */
|
||||
|
Reference in New Issue
Block a user