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)
commit09391ddc9578f1526baeb8590b1b48b9249cef8b
tree86d2dc3f446d42415bd80ad554e2ec4bf668aba1
parent9ebe6fdc5c684c21a44aeaf98837c54d7415ca2a
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