backend/nodes cleanup: Move loop variables definitions into for statement - Mailing list pgsql-hackers

From Chao Li
Subject backend/nodes cleanup: Move loop variables definitions into for statement
Date
Msg-id CAEoWx2nP12qwAaiJutbn1Kw50atN6FbMJNQ4bh4+fP_Ay_u7Eg@mail.gmail.com
Whole thread Raw
Responses Re: backend/nodes cleanup: Move loop variables definitions into for statement
List pgsql-hackers
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.


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




Attachment

pgsql-hackers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: [Patch] Windows relation extension failure at 2GB and 4GB
Next
From: Nazir Bilal Yavuz
Date:
Subject: Re: Trying out read streams in pgvector (an extension)