Re: backend/nodes cleanup: Move loop variables definitions into for statement

Поиск
Список
Период
Сортировка
От Chao Li
Тема Re: backend/nodes cleanup: Move loop variables definitions into for statement
Дата
Msg-id CAEoWx2myNR++aMEvA9=+_-bFaGHzoAtU1aZviQXe6xb925h6Sg@mail.gmail.com
обсуждение исходный текст
Ответ на backend/nodes cleanup: Move loop variables definitions into for statement  (Chao Li <li.evan.chao@gmail.com>)
Список pgsql-hackers


On Wed, Nov 12, 2025 at 4:00 PM Chao Li <li.evan.chao@gmail.com> wrote:
Hi Hackers,

While working on the other patch [1] that touched tbm_add_tuples() under src/backend/nodes, I moved a loop variable into for statement by the way as I knew Peter Eisentraut had done some efforts about that, see [2].

However, Peter removed that change from the patch and he said that should belong to a separate cleanup patch. So I am following up and moving loop variables into for statements wherever possible under src/backend/nodes.



Rebased to V2.

Best regards,
Chao Li (Evan)
---------------------
HighGo Software Co., Ltd.
https://www.highgo.com/

 
Вложения

В списке pgsql-hackers по дате отправления: