| From: | "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl> |
|---|---|
| To: | "Peter Eisentraut" <peter(at)eisentraut(dot)org>, "PostgreSQL Hackers" <pgsql-hackers(at)lists(dot)postgresql(dot)org>, "Thomas Munro" <thomas(dot)munro(at)gmail(dot)com> |
| Subject: | Re: Make copyObject work in C++ |
| Date: | 2026-01-03 09:32:28 |
| Message-ID: | DFEUMBSUG8KA.XGY0CN9PFPR2@jeltef.nl |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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 | Content-Type | Size |
|---|---|---|
| v4-0001-Make-copyObject-work-in-C.patch | text/x-patch | 2.1 KB |
| v4-0002-Use-pg_exprtype-instead-of-typeof.patch | text/x-patch | 3.1 KB |
| v4-0003-Revert-Replace-pg_restrict-by-standard-restrict.patch | text/x-patch | 11.3 KB |
| v4-0004-tests-Add-a-test-C-extension-module.patch | text/x-patch | 10.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Jelte Fennema-Nio | 2026-01-03 09:42:20 | Re: Decouple C++ support in Meson's PGXS from LLVM enablement |
| Previous Message | Pavel Stehule | 2026-01-03 06:34:52 | Re: not fully correct error message |