Fix type of iterator variable in SH_START_ITERATE
authorAndres Freund <andres@anarazel.de>
Thu, 6 Jul 2023 15:34:17 +0000 (08:34 -0700)
committerAndres Freund <andres@anarazel.de>
Thu, 6 Jul 2023 16:57:33 +0000 (09:57 -0700)
commit9f236198c31de5340bd2227438b239a465c6eab3
tree207ab423aa9fea0d4f7e3398d83a9b5be9afab12
parent2d3983aea5db679fdd1b286ded792692580e8f3f
Fix type of iterator variable in SH_START_ITERATE

Also add comment to make the reasoning behind the Assert() more explicit (per
Tom).

Reported-by: Ranier Vilela
Discussion: https://postgr.es/m/CAEudQAocXNJ6s1VLz+hMamLAQAiewRoW17OJ6-+9GACKfj6iPQ@mail.gmail.com
Backpatch: 11-
src/include/lib/simplehash.h