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

Jelte Fennema-Nio <postgres@jeltef.nl>

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

Attachments

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.

Commits

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

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