Fix type of iterator variable in SH_START_ITERATE

Andres Freund <andres@anarazel.de>

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