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:28 +0000 (09:57 -0700)
commitf0a94d81e4f7d3402d4b3a6b05b7b749ff23fe54
tree99136f4057c85fa9eedcc600554ff94f083375d7
parent1fa25ce70f0901b5b55b1fe9ca10cb3b9905db97
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