pgsql: Don't exaggerate the number of temporary blocks read.

From: Robert Haas <rhaas(at)postgresql(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Don't exaggerate the number of temporary blocks read.
Date: 2017-10-31 09:30:05
Message-ID: E1e9Ss1-0001vb-7c@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ee4673ac071f8352c41cc673299b7ec695f079ff

Modified Files
--------------
src/backend/storage/file/buffile.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2017-10-31 17:40:29 pgsql: Fix underqualified cast-target type names in pg_dump and psql qu
Previous Message Robert Haas 2017-10-31 09:16:00 pgsql: Fix code related to partitioning schemes for dropped columns.