Fix type of iterator variable in SH_START_ITERATE

Andres Freund <andres@anarazel.de>

Commit: 6143602ebaab4fb7c8fca64bbbc246710b5c5ee6
Author: Andres Freund <andres@anarazel.de>
Date: 2023-07-06T16:57:33Z
Releases: 11.21
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-

Files

PathChange+/−
src/include/lib/simplehash.h modified +2 −1

Discussion