Re: Make foreach_ptr macro work in C++ extensions
Bruce Momjian <bruce@momjian.us>
From: Bruce Momjian <bruce@momjian.us>
To: Nathan Bossart <nathandbossart@gmail.com>
Cc: Jelte Fennema-Nio <postgres@jeltef.nl>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-10-14T20:31:59Z
Lists: pgsql-hackers
On Mon, Oct 14, 2024 at 03:29:34PM -0500, Nathan Bossart wrote: > > I think it would be good to backpatch this to PG17 as well, > > as to not introduce some differences in the macro across versions. > > I'd consider this a "low-risk" fix, which our versioning page [0] says is > acceptable for a minor release, so I'll plan on back-patching unless > someone objects. Agreed. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com When a patient asks the doctor, "Am I going to die?", he means "Am I going to die soon?"
Commits
-
Add type cast to foreach_internal's loop variable.
- d5ca15ee54bf 18.0 landed
- 8aaca0785104 17.1 landed