]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Test List macros in C++ extensions
authorPeter Eisentraut <peter@eisentraut.org>
Tue, 17 Feb 2026 09:06:32 +0000 (10:06 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Tue, 17 Feb 2026 09:17:57 +0000 (10:17 +0100)
commit3d28ecb5ac76ae29ca0837dc81e7dacc2ab215eb
tree8f27f3db125ce559f96a36c09cc03f3d5ae13bad
parentbd626ef093b2e5f279285a344c8ac53d67cdfd76
Test List macros in C++ extensions

All of these macros already work 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++.
Some of the List macros didn't work in C++ in the past (see commit
d5ca15ee5), and this would have caught that.

Author: Jelte Fennema-Nio <postgres@jeltef.nl>
Discussion: https://www.postgresql.org/message-id/flat/CAGECzQR21OnnKiZO_1rLWO0-16kg1JBxnVq-wymYW0-_1cUNtg@mail.gmail.com
src/test/modules/test_cplusplusext/test_cplusplusext.cpp