Re: pgsql: tests: Add a test C++ extension module

Peter Eisentraut <peter@eisentraut.org>

From: Peter Eisentraut <peter@eisentraut.org>
To: Jelte Fennema-Nio <postgres@jeltef.nl>, Peter Smith <smithpb2250@gmail.com>
Cc: pgsql-committers@lists.postgresql.org
Date: 2026-01-21T09:44:44Z
Lists: pgsql-hackers
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.




Commits

  1. Detect if flags are needed for C++11 support

  2. tests: Add a test C++ extension module