Re: backend/nodes cleanup: Move loop variables definitions into for statement
Chao Li <li.evan.chao@gmail.com>
From: Chao Li <li.evan.chao@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Postgres hackers <pgsql-hackers@lists.postgresql.org>
Date: 2025-11-24T23:38:23Z
Lists: pgsql-hackers
Attachments
- v4-0001-backend-nodes-cleanup-Move-loop-variables-definit.patch (application/octet-stream) patch v4-0001
On Mon, Nov 24, 2025 at 11:00 PM Peter Eisentraut <peter@eisentraut.org> wrote: > On 19.11.25 11:32, Chao Li wrote: > > On Wed, Nov 19, 2025 at 5:36 PM Peter Eisentraut <peter@eisentraut.org > > <mailto:peter@eisentraut.org>> wrote: > > > > > > > > In a couple of cases, you are changing the type of the loop variable > > from Size to int. I would not expect such a change in a patch of > this > > nature. If you have a reason to change it, please explain it (but I > > doubt the change is correct). > > > > > > That was a mistake. I fixed it in v3. > > Still not correct in outDatum(). > > Oops! Fixed in v4. Best regards, Chao Li (Evan) --------------------- HighGo Software Co., Ltd. https://www.highgo.com/
Commits
-
backend/nodes cleanup: Move loop variables definitions into for statement
- 2256af4ba223 19 (unreleased) landed
-
formatting.c cleanup: Move loop variables definitions into for statement
- 03fbb0814c50 19 (unreleased) cited