Improve comments about partitioned hash table freelists.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jul 2017 22:02:26 +0000 (18:02 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 22 Jul 2017 22:02:26 +0000 (18:02 -0400)
commitab2324fd468c4bc6d8b012552550ed951d97339a
tree10da458406113eedc40a21f350020c619a107f3c
parent991c8b04fc5d61a308bb00ea34a7ff710051c53f
Improve comments about partitioned hash table freelists.

While I couldn't find any live bugs in commit 44ca4022f, the comments
seemed pretty far from adequate; in particular it was not made plain that
"borrowing" entries from other freelists is critical for correctness.
Try to improve the commentary.  A couple of very minor code style
tweaks, as well.

Discussion: https://postgr.es/m/10593.1500670709@sss.pgh.pa.us
src/backend/utils/hash/dynahash.c