48 ScanKey orderbys,
int norderbys)
157 for (offset = 1; offset <=
maxOffset; offset++)
163 for (
i = 0;
i <
so->state.opts.bloomLength;
i++)
#define BloomPageGetMaxOffset(page)
#define BloomPageGetTuple(state, page, offset)
uint16 BloomSignatureWord
void signValue(BloomState *state, BloomSignatureWord *sign, Datum value, int attno)
#define BloomPageIsDeleted(page)
void initBloomState(BloomState *state, Relation index)
BloomScanOpaqueData * BloomScanOpaque
int64 blgetbitmap(IndexScanDesc scan, TIDBitmap *tbm)
IndexScanDesc blbeginscan(Relation r, int nkeys, int norderbys)
void blendscan(IndexScanDesc scan)
void blrescan(IndexScanDesc scan, ScanKey scankey, int nscankeys, ScanKey orderbys, int norderbys)
void UnlockReleaseBuffer(Buffer buffer)
#define RelationGetNumberOfBlocks(reln)
static Page BufferGetPage(Buffer buffer)
static void LockBuffer(Buffer buffer, BufferLockMode mode)
static bool PageIsNew(const PageData *page)
#define Assert(condition)
#define palloc_object(type)
#define palloc0_array(type, count)
BufferAccessStrategy GetAccessStrategy(BufferAccessStrategyType btype)
void FreeAccessStrategy(BufferAccessStrategy strategy)
IndexScanDesc RelationGetIndexScan(Relation indexRelation, int nkeys, int norderbys)
void pfree(void *pointer)
#define CHECK_FOR_INTERRUPTS()
#define pgstat_count_index_scan(rel)
Buffer read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
ReadStream * read_stream_begin_relation(int flags, BufferAccessStrategy strategy, Relation rel, ForkNumber forknum, ReadStreamBlockNumberCB callback, void *callback_private_data, size_t per_buffer_data_size)
void read_stream_end(ReadStream *stream)
BlockNumber block_range_read_stream_cb(ReadStream *stream, void *callback_private_data, void *per_buffer_data)
#define READ_STREAM_USE_BATCHING
BlockNumber last_exclusive
BlockNumber current_blocknum
BloomSignatureWord sign[FLEXIBLE_ARRAY_MEMBER]
struct ScanKeyData * keyData
struct IndexScanInstrumentation * instrument
void tbm_add_tuples(TIDBitmap *tbm, const ItemPointerData *tids, int ntids, bool recheck)