Text of doxygen.postgresql.org › structReadStream.html as Styx crawled it on Nov 18, 2026. The page may have changed since. Only its words are kept, without pictures or layout, and only the first part of a long page.

Open the live page

PostgreSQL Source Code: ReadStream Struct Reference

PostgreSQL Source Code git master Loading... Searching... No Matches Data Fields ReadStream Struct Reference Data Fields int16 max_ios int16 io_combine_limit int16 ios_in_progress int16 queue_size int16 max_pinned_buffers int16 forwarded_buffers int16 pinned_buffers int16 combine_distance int16 readahead_distance uint16 distance_decay_holdoff int16 initialized_buffers int16 resume_readahead_distance int16 resume_combine_distance int read_buffers_flags bool sync_mode bool batch_mode bool advice_enabled bool temporary IOStats * stats BlockNumber buffered_blocknum ReadStreamBlockNumberCB callback void * callback_private_data BlockNumber seq_blocknum BlockNumber seq_until_processed BlockNumber pending_read_blocknum int16 pending_read_nblocks size_t per_buffer_data_size void * per_buffer_data InProgressIO * ios int16 oldest_io_index int16 next_io_index bool fast_path int16 oldest_buffer_index int16 next_buffer_index Buffer buffers [ FLEXIBLE_ARRAY_MEMBER ] Detailed Description Definition at line 95 of file read_stream.c .

Field Documentation ◆ advice_enabled bool ReadStream::advice_enabled Definition at line 124 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ batch_mode bool ReadStream::batch_mode Definition at line 123 of file read_stream.c . Referenced by read_stream_begin_impl() , and read_stream_look_ahead() . ◆ buffered_blocknum BlockNumber ReadStream::buffered_blocknum Definition at line 134 of file read_stream.c .

Referenced by read_stream_begin_impl() , read_stream_get_block() , read_stream_reset() , and read_stream_unget_block() . ◆ buffers Buffer ReadStream::buffers[ FLEXIBLE_ARRAY_MEMBER ] Definition at line 165 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_next_buffer() , read_stream_reset() , and read_stream_start_pending_read() . ◆ callback ReadStreamBlockNumberCB ReadStream::callback Definition at line 140 of file read_stream.c .

Referenced by read_stream_begin_impl() , and read_stream_get_block() . ◆ callback_private_data void * ReadStream::callback_private_data Definition at line 141 of file read_stream.c . Referenced by read_stream_begin_impl() , and read_stream_get_block() . ◆ combine_distance int16 ReadStream::combine_distance Definition at line 115 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_look_ahead() , read_stream_next_buffer() , read_stream_pause() , read_stream_reset() , read_stream_resume() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ distance_decay_holdoff uint16 ReadStream::distance_decay_holdoff Definition at line 117 of file read_stream.c .

Referenced by read_stream_begin_impl() , read_stream_next_buffer() , read_stream_reset() , and read_stream_start_pending_read() . ◆ fast_path bool ReadStream::fast_path Definition at line 160 of file read_stream.c . Referenced by read_stream_next_buffer() , and read_stream_reset() . ◆ forwarded_buffers int16 ReadStream::forwarded_buffers Definition at line 102 of file read_stream.c . Referenced by read_stream_next_buffer() , read_stream_reset() , and read_stream_start_pending_read() . ◆ initialized_buffers int16 ReadStream::initialized_buffers Definition at line 118 of file read_stream.c .

Referenced by read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ io_combine_limit int16 ReadStream::io_combine_limit Definition at line 98 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ ios InProgressIO * ReadStream::ios Definition at line 156 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_next_block() , read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ ios_in_progress int16 ReadStream::ios_in_progress Definition at line 99 of file read_stream.c .

Referenced by read_stream_look_ahead() , read_stream_next_buffer() , read_stream_reset() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ max_ios int16 ReadStream::max_ios Definition at line 97 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_look_ahead() , read_stream_next_buffer() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ max_pinned_buffers int16 ReadStream::max_pinned_buffers Definition at line 101 of file read_stream.c .

Referenced by read_stream_begin_impl() , read_stream_enable_stats() , read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ next_buffer_index int16 ReadStream::next_buffer_index Definition at line 164 of file read_stream.c . Referenced by read_stream_look_ahead() , read_stream_next_buffer() , read_stream_reset() , and read_stream_start_pending_read() . ◆ next_io_index int16 ReadStream::next_io_index Definition at line 158 of file read_stream.c .

Referenced by read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ oldest_buffer_index int16 ReadStream::oldest_buffer_index Definition at line 163 of file read_stream.c . Referenced by read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ oldest_io_index int16 ReadStream::oldest_io_index Definition at line 157 of file read_stream.c . Referenced by read_stream_next_buffer() . ◆ pending_read_blocknum BlockNumber ReadStream::pending_read_blocknum Definition at line 148 of file read_stream.c .

Referenced by read_stream_look_ahead() , and read_stream_start_pending_read() . ◆ pending_read_nblocks int16 ReadStream::pending_read_nblocks Definition at line 149 of file read_stream.c . Referenced by read_stream_look_ahead() , read_stream_next_buffer() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ per_buffer_data void * ReadStream::per_buffer_data Definition at line 153 of file read_stream.c .

Referenced by get_per_buffer_data() , read_stream_begin_impl() , and read_stream_next_buffer() . ◆ per_buffer_data_size size_t ReadStream::per_buffer_data_size Definition at line 152 of file read_stream.c . Referenced by get_per_buffer_data() , read_stream_begin_impl() , read_stream_get_block() , and read_stream_next_buffer() . ◆ pinned_buffers int16 ReadStream::pinned_buffers Definition at line 103 of file read_stream.c .

Referenced by read_stream_count_prefetch() , read_stream_look_ahead() , read_stream_next_buffer() , read_stream_reset() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ queue_size int16 ReadStream::queue_size Definition at line 100 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_look_ahead() , read_stream_next_buffer() , read_stream_reset() , and read_stream_start_pending_read() . ◆ read_buffers_flags int ReadStream::read_buffers_flags Definition at line 121 of file read_stream.c .

Referenced by read_stream_begin_impl() , read_stream_next_buffer() , and read_stream_start_pending_read() . ◆ readahead_distance int16 ReadStream::readahead_distance Definition at line 116 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_look_ahead() , read_stream_next_buffer() , read_stream_pause() , read_stream_reset() , read_stream_resume() , read_stream_should_issue_now() , read_stream_should_look_ahead() , and read_stream_start_pending_read() . ◆ resume_combine_distance int16 ReadStream::resume_combine_distance Definition at line 120 of file read_stream.c .

Referenced by read_stream_begin_impl() , read_stream_pause() , read_stream_reset() , and read_stream_resume() . ◆ resume_readahead_distance int16 ReadStream::resume_readahead_distance Definition at line 119 of file read_stream.c . Referenced by read_stream_begin_impl() , read_stream_pause() , read_stream_reset() , and read_stream_resume() . ◆ seq_blocknum BlockNu

The rest of this page is on the live site.