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:32 +0000 (09:57 -0700)
commit1508b57d4b7a67c1febb5dd71a17c9a08359c8e4
tree26d27b379a56d0223015eb736b07b525ccda6145
parentfb0f05576a0a6a452fe206a9e1d181f8f82dd882
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