Test most StaticAssert macros in C++ extensions
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-02-17T09:17:57Z
Releases:
19 (unreleased)
Test most StaticAssert macros in C++ extensions Most of the StaticAssert macros already worked in C++ with Clang and GCC:(the only compilers we're currently testing C++ extension support for). This adds a regression test for them in our test C++ extension, so we can safely change their implementation without accidentally breaking C++. The only macros that StaticAssert macros that don't work yet are the StaticAssertVariableIsOfType and StaticAssertVariableIsOfTypeMacro. These will be added in a follow-on commit. Author: Jelte Fennema-Nio <postgres@jeltef.nl> Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/test/modules/test_cplusplusext/test_cplusplusext.cpp | modified | +5 −0 |
Discussion
- Make copyObject work in C++ 51 messages · 2025-12-05 → 2026-04-16