diff options
author | Thomas Munro <tmunro@postgresql.org> | 2024-04-06 17:14:12 +1300 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2024-04-06 18:00:35 +1300 |
commit | aa1e8c206454d666ab600050022aef2c3c390f69 (patch) | |
tree | 1ae925cdf83c3bf129bb19021f51979dcbcd1fb2 /src/backend/executor/nodeProjectSet.c | |
parent | 9e7386924e837aef8d48895cf72a6a0b7f78cbe9 (diff) | |
download | postgresql-aa1e8c206454d666ab600050022aef2c3c390f69.tar.gz postgresql-aa1e8c206454d666ab600050022aef2c3c390f69.zip |
Improve read_stream.c's fast path.
The "fast path" for well cached scans that don't do any I/O was
accidentally coded in a way that could only be triggered by pg_prewarm's
usage pattern, which starts out with a higher distance because of the
flags it passes in. We want it to work for streaming sequential scans
too, once that patch is committed. Adjust.
Reviewed-by: Melanie Plageman <melanieplageman@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKGKXZALJ%3D6aArUsXRJzBm%3Dqvc4AWp7%3DiJNXJQqpbRLnD_w%40mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeProjectSet.c')
0 files changed, 0 insertions, 0 deletions