Fix type of iterator variable in SH_START_ITERATE

Andres Freund <andres@anarazel.de>

Commit: 09391ddc9578f1526baeb8590b1b48b9249cef8b
Author: Andres Freund <andres@anarazel.de>
Date: 2023-07-06T16:57:32Z
Releases: 13.12
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 −2

Discussion