pgsql: Fix type of iterator variable in SH_START_ITERATE

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Fix type of iterator variable in SH_START_ITERATE
Date: 2023-07-06 17:29:03
Message-ID: [email protected]
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f0a94d81e4f7d3402d4b3a6b05b7b749ff23fe54

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

Browse pgsql-committers by date

  From Date Subject
Next Message Daniel Gustafsson 2023-07-06 19:27:09 pgsql: pg_regress: Remove unused variable
Previous Message Nathan Bossart 2023-07-06 17:20:04 Re: pgsql: Fix search_path to a safe value during maintenance operations.