Re: Fixing MSVC's inability to detect elog(ERROR) does not return - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Re: Fixing MSVC's inability to detect elog(ERROR) does not return
Date
Msg-id d38be90a-3e7a-42e0-a844-a7a122392c7e@eisentraut.org
Whole thread Raw
In response to Fixing MSVC's inability to detect elog(ERROR) does not return  (David Rowley <dgrowleyml@gmail.com>)
List pgsql-hackers
On 24.07.25 03:14, David Rowley wrote:
> So, I think that means we can adjust the meson build scripts to pass
> /std:c11 when building in MSVC. The attached patch does this and
> defines a pg_builtin_constant() macro and adjusts ereport_domain() to
> use it.

Please review my patch at

https://www.postgresql.org/message-id/ccb273c9-7544-4748-8638-30feba212e6e@eisentraut.org
https://commitfest.postgresql.org/patch/5934/

for C11 support across all platforms.  Then we avoid the hybrid C99/C11 
situation that your patch introduces.




pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: support create index on virtual generated column.
Next
From: Fabrice Chapuis
Date:
Subject: roles management problem after upgrading in PG 17