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-002EI0-QL@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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/09391ddc9578f1526baeb8590b1b48b9249cef8b

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.