21 #define READ_STREAM_DEFAULT 0x00
28 #define READ_STREAM_MAINTENANCE 0x01
36 #define READ_STREAM_SEQUENTIAL 0x02
43 #define READ_STREAM_FULL 0x04
57 void *callback_private_data,
58 void *per_buffer_data);
61 void *callback_private_data,
62 void *per_buffer_data);
68 void *callback_private_data,
69 size_t per_buffer_data_size);
76 char smgr_persistence,
79 void *callback_private_data,
80 size_t per_buffer_data_size);
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)
BlockNumber read_stream_next_block(ReadStream *stream, BufferAccessStrategy *strategy)
void read_stream_reset(ReadStream *stream)
Buffer read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
ReadStream * read_stream_begin_smgr_relation(int flags, BufferAccessStrategy strategy, SMgrRelation smgr, char smgr_persistence, ForkNumber forknum, ReadStreamBlockNumberCB callback, void *callback_private_data, size_t per_buffer_data_size)
void read_stream_end(ReadStream *stream)
BlockNumber(* ReadStreamBlockNumberCB)(ReadStream *stream, void *callback_private_data, void *per_buffer_data)
BlockNumber block_range_read_stream_cb(ReadStream *stream, void *callback_private_data, void *per_buffer_data)
struct BlockRangeReadStreamPrivate BlockRangeReadStreamPrivate
BlockNumber last_exclusive
BlockNumber current_blocknum
static void callback(struct sockaddr *addr, struct sockaddr *mask, void *unused)