Fix formula in _hash_spareindex.

Robert Haas <rhaas@postgresql.org>

Commit: b38006ef6d1ba2f56cc4962ed17956b74c9fa0c4
Author: Robert Haas <rhaas@postgresql.org>
Date: 2017-04-04T11:45:04Z
Releases: 10.0
Fix formula in _hash_spareindex.

This was correct in earlier versions of the patch that lead to
commit ea69a0dead5128c421140dc53fac165ba4af8520, but somehow got
broken in the last version which I actually committed.

Mithun Cy, per an off-list report from Ashutosh Sharma

Discussion: http://postgr.es/m/CAD__OujbAwNU71v1y-RoQxZ8LZ6-V2UFTkex3v34MK6uZ3Xb5w@mail.gmail.com

Files

PathChange+/−
src/backend/access/hash/hashutil.c modified +2 −1

Discussion