Thread: pgsql: Fix type of iterator variable in SH_START_ITERATE

pgsql: Fix type of iterator variable in SH_START_ITERATE

From
Andres Freund
Date:
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-

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/6143602ebaab4fb7c8fca64bbbc246710b5c5ee6

Modified Files
--------------
src/include/lib/simplehash.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)