]> granicus.if.org Git - postgresql/commit
Don't exaggerate the number of temporary blocks read.
authorRobert Haas <rhaas@postgresql.org>
Tue, 31 Oct 2017 09:24:41 +0000 (14:54 +0530)
committerRobert Haas <rhaas@postgresql.org>
Tue, 31 Oct 2017 09:26:09 +0000 (14:56 +0530)
commitee4673ac071f8352c41cc673299b7ec695f079ff
tree533f779d7e15479ba04479520623885afb31a96f
parentcf7ab13bfb450dde50c86fa714a92964ce32b537
Don't exaggerate the number of temporary blocks read.

A read that returns zero bytes (or an error) should not increment
the number of temporary blocks read.

Thomas Munro

Discussion: http://postgr.es/m/CAEepm=21xgihg=WaG+O5MFotEZfN6kFETpfw+RkSnEqNQqGn2Q@mail.gmail.com
src/backend/storage/file/buffile.c