Re: remove pg_restrict workaround
Peter Eisentraut <peter@eisentraut.org>
From: Peter Eisentraut <peter@eisentraut.org>
To: Jelte Fennema-Nio <postgres@jeltef.nl>
Cc: Tom Lane <tgl@sss.pgh.pa.us>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2026-01-14T14:36:09Z
Lists: pgsql-hackers
On 03.01.26 23:57, Jelte Fennema-Nio wrote: > I don't see any way out except a revert. To be clear, that would solve > it because we can totally do the following on MSVC C++: > #define pg_restrict __restrict Yes, it looks like there is no way past that. I have reverted the patch and updated the code comments to clarify that the reason for this is now C++ only.
Commits
-
Revert "Replace pg_restrict by standard restrict"
- fa16e7fd8488 19 (unreleased) landed
-
Replace pg_restrict by standard restrict
- f0f2c0c1aef9 19 (unreleased) landed
-
Remove meaninglist restrict qualifiers
- 64d2b0968ea4 19 (unreleased) landed