pgsql: Fix range check for effective_io_concurrency

From: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix range check for effective_io_concurrency
Date: 2016-05-24 18:57:55
Message-ID: E1b5HWd-0001Ei-1g@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix range check for effective_io_concurrency

Commit 1aba62ec moved the range check of that option form guc.c into
bufmgr.c, but introduced a bug by changing a >= 0.0 to > 0.0, which made
the value 0 no longer accepted. Put it back.

Reported by Jeff Janes, diagnosed by Tom Lane

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/0c7cd45b6d702253c09427929bcceb6e7fe9029a

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-05-24 19:20:49 pgsql: Avoid consuming an XID during vac_truncate_clog().
Previous Message Andres Freund 2016-05-24 18:13:24 Re: [HACKERS] Re: pgsql: Avoid extra locks in GetSnapshotData if old_snapshot_threshold <