]> granicus.if.org Git - postgresql/commit
Remove unnecessary variables in _hash_splitbucket().
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Apr 2015 20:49:11 +0000 (16:49 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 3 Apr 2015 20:49:11 +0000 (16:49 -0400)
commitc419321061420a6eb5851f2fdb0e0d5db24f5a4e
tree8f418906f7b84cf1ceff71d7ddc7e2f2eb4bfc1c
parentee0d06c0b9993fb06b940c21a7bfde7de8186a2e
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.
src/backend/access/hash/hashpage.c