Use streaming I/O in sequential scans.

Thomas Munro <tmunro@postgresql.org>

Commit: b7b0f3f27241e424b7103397489464d907cef2c4
Author: Thomas Munro <tmunro@postgresql.org>
Date: 2024-04-07T13:53:57Z
Releases: 17.0
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

Files

PathChange+/−
src/backend/access/heap/heapam.c modified +162 −73
src/include/access/heapam.h modified +15 −0

Discussion

Cited messages not in the archive: flat/CAAKRu_YtXJiYKQvb5JsA2SkwrsizYLugs4sSOZh3EAjKUg=gEQ@mail.gmail.com