Fix type of iterator variable in SH_START_ITERATE

Andres Freund <andres@anarazel.de>

Commit: 1508b57d4b7a67c1febb5dd71a17c9a08359c8e4
Author: Andres Freund <andres@anarazel.de>
Date: 2023-07-06T16:57:32Z
Releases: 14.9
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