mirror of
https://github.com/postgres/postgres.git
synced 2025-08-27 07:42:10 +03:00
Create executor and planner-backend support for decoupled heap and index
scans, using in-memory tuple ID bitmaps as the intermediary. The planner frontend (path creation and cost estimation) is not there yet, so none of this code can be executed. I have tested it using some hacked planner code that is far too ugly to see the light of day, however. Committing now so that the bulk of the infrastructure changes go in before the tree drifts under me.
This commit is contained in:
25
src/include/executor/nodeBitmapOr.h
Normal file
25
src/include/executor/nodeBitmapOr.h
Normal file
@@ -0,0 +1,25 @@
|
||||
/*-------------------------------------------------------------------------
|
||||
*
|
||||
* nodeBitmapOr.h
|
||||
*
|
||||
*
|
||||
*
|
||||
* Portions Copyright (c) 1996-2005, PostgreSQL Global Development Group
|
||||
* Portions Copyright (c) 1994, Regents of the University of California
|
||||
*
|
||||
* $PostgreSQL: pgsql/src/include/executor/nodeBitmapOr.h,v 1.1 2005/04/19 22:35:17 tgl Exp $
|
||||
*
|
||||
*-------------------------------------------------------------------------
|
||||
*/
|
||||
#ifndef NODEBITMAPOR_H
|
||||
#define NODEBITMAPOR_H
|
||||
|
||||
#include "nodes/execnodes.h"
|
||||
|
||||
extern int ExecCountSlotsBitmapOr(BitmapOr *node);
|
||||
extern BitmapOrState *ExecInitBitmapOr(BitmapOr *node, EState *estate);
|
||||
extern Node *MultiExecBitmapOr(BitmapOrState *node);
|
||||
extern void ExecEndBitmapOr(BitmapOrState *node);
|
||||
extern void ExecReScanBitmapOr(BitmapOrState *node, ExprContext *exprCtxt);
|
||||
|
||||
#endif /* NODEBITMAPOR_H */
|
Reference in New Issue
Block a user