| /*------------------------------------------------------------------------- |
| * |
| * nodeBitmapOr.h |
| * |
| * |
| * |
| * Portions Copyright (c) 1996-2008, PostgreSQL Global Development Group |
| * Portions Copyright (c) 1994, Regents of the University of California |
| * |
| * $PostgreSQL: pgsql/src/include/executor/nodeBitmapOr.h,v 1.3 2006/03/05 15:58:56 momjian Exp $ |
| * |
| *------------------------------------------------------------------------- |
| */ |
| #ifndef NODEBITMAPOR_H |
| #define NODEBITMAPOR_H |
| |
| #include "nodes/execnodes.h" |
| |
| extern int ExecCountSlotsBitmapOr(BitmapOr *node); |
| extern BitmapOrState *ExecInitBitmapOr(BitmapOr *node, EState *estate, int eflags); |
| extern Node *MultiExecBitmapOr(BitmapOrState *node); |
| extern void ExecEndBitmapOr(BitmapOrState *node); |
| extern void ExecReScanBitmapOr(BitmapOrState *node, ExprContext *exprCtxt); |
| |
| enum { |
| GPMON_BITMAPOR_TOTAL = GPMON_QEXEC_M_NODE_START, |
| }; |
| |
| static inline gpmon_packet_t * GpmonPktFromBitmapOrState(BitmapOrState *node) |
| { |
| return &node->ps.gpmon_pkt; |
| } |
| #endif /* NODEBITMAPOR_H */ |