Use streaming I/O in sequential scans.
authorThomas Munro <tmunro@postgresql.org>
Sun, 7 Apr 2024 13:48:27 +0000 (01:48 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sun, 7 Apr 2024 13:53:57 +0000 (01:53 +1200)
commitb7b0f3f27241e424b7103397489464d907cef2c4
tree0153cde8bc66f088b4d33921d4ebfe808c814972
parent6ed83d5fa55cf6e6c9d1be34ec10730c48eba763
Use streaming I/O in sequential scans.

Instead of calling ReadBuffer() for each block, heap sequential scans
and TID range scans now use the streaming API introduced in b5a9b18cd0.

Author: Melanie Plageman <melanieplageman@gmail.com>
Reviewed-by: Andres Freund <andres@anarazel.de>
Reviewed-by: Thomas Munro <thomas.munro@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_YtXJiYKQvb5JsA2SkwrsizYLugs4sSOZh3EAjKUg%3DgEQ%40mail.gmail.com
src/backend/access/heap/heapam.c
src/include/access/heapam.h