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: E1qHSmt-002EHw-Pq@gemulon.postgresql.org
Views: Raw Message | Whole Thread | 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
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/1508b57d4b7a67c1febb5dd71a17c9a08359c8e4

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.