Remove unnecessary variables in _hash_splitbucket().

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 645081427d52bdfa88b79d886df2cbab5c72d406
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2015-04-03T20:49:12Z
Releases: 9.0.20
Remove unnecessary variables in _hash_splitbucket().

Commit ed9cc2b5df59fdbc50cce37399e26b03ab2c1686 made it unnecessary to pass
start_nblkno to _hash_splitbucket(), and for that matter unnecessary to
have the internal nblkno variable either.  My compiler didn't complain
about that, but some did.  I also rearranged the use of oblkno a bit to
make that case more parallel.

Report and initial patch by Petr Jelinek, rearranged a bit by me.
Back-patch to all branches, like the previous patch.

Files

PathChange+/−
src/backend/access/hash/hashpage.c modified +11 −16