Re: remove pg_restrict workaround

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: Jelte Fennema-Nio <postgres(at)jeltef(dot)nl>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: remove pg_restrict workaround
Date: 2026-01-14 14:36:09
Message-ID: 3c399694-d6af-43d8-8510-145e638b5aba@eisentraut.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
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.

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2026-01-14 14:51:06 Re: GIN pageinspect support for entry tree and posting tree
Previous Message Melanie Plageman 2026-01-14 14:17:22 Re: Buffer locking is special (hints, checksums, AIO writes)