Re: pgsql: tests: Add a test C++ extension module - Mailing list pgsql-committers

From Peter Eisentraut
Subject Re: pgsql: tests: Add a test C++ extension module
Date
Msg-id abb76852-0299-4b11-b487-862f1567f712@eisentraut.org
Whole thread Raw
In response to Re: pgsql: tests: Add a test C++ extension module  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-committers
On 21.01.26 10:44, Peter Eisentraut wrote:
> On 21.01.26 09:50, Jelte Fennema-Nio wrote:
>> On Wed Jan 21, 2026 at 4:27 AM CET, Peter Smith wrote:
>>> 'make check-world' is suddenly failing for me, apparently caused by
>>> this new test.
>>>
>>> FYI - I am building in a 'Linux CentOS7-x64 ' environment, which I
>>> know has reached end-of-life, but even so, everything was fine before
>>> this test appeared.
>>
>>
>> I'm still not clear on what our policy is on supporting such EOL
>> distros. But this patch seems sensible regardless and it fixes
>> compilation for me when running on a centos 7 docker image.
> 
> Yes, I was just in the process of writing that same patch.  I'll see if 
> there are any differences and then move ahead with this.

This has been committed, and at least one buildfarm member has confirmed 
so far.  The other ones are just very slow.

During testing, I noticed that my hack from an earlier patch to compute 
have_cxx in configure didn't work well when you specify CXX from the 
environment.  So I implemented a different solution for that.  Also, my 
reading and testing showed that MSVC doesn't have a /std:c++11 option, 
the oldest one is /std:c++14, so I went with that.




pgsql-committers by date:

Previous
From: Peter Eisentraut
Date:
Subject: pgsql: Remove incorrect commented out code
Next
From: Peter Eisentraut
Date:
Subject: pgsql: Record range constructor functions in pg_range