Re: Make copyObject work in C++ - Mailing list pgsql-hackers

From Jelte Fennema-Nio
Subject Re: Make copyObject work in C++
Date
Msg-id DFEUMBSUG8KA.XGY0CN9PFPR2@jeltef.nl
Whole thread Raw
In response to Re: Make copyObject work in C++  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Tue Dec 16, 2025 at 1:28 PM CET, Peter Eisentraut wrote:
> I think it might be good to create a test extension written in C++, like
> under src/test/modules/, and sprinkle it with various constructs like
> copyObject() and static assertions, and whatever else we find that is
> possibly problematic.

Attached is a patchset that does that. It required a few more fixes to
make the extension compile on MSVC too.

Attachment

pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: not fully correct error message
Next
From: "Jelte Fennema-Nio"
Date:
Subject: Re: Decouple C++ support in Meson's PGXS from LLVM enablement