pgsql: Test List macros in C++ extensions - Mailing list pgsql-committers

From Peter Eisentraut
Subject pgsql: Test List macros in C++ extensions
Date
Msg-id E1vsHIr-001FNp-0b@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3d28ecb5ac76ae29ca0837dc81e7dacc2ab215eb

Modified Files
--------------
.../modules/test_cplusplusext/test_cplusplusext.cpp     | 17 +++++++++++++++++
1 file changed, 17 insertions(+)


pgsql-committers by date:

Previous
From: Thomas Munro
Date:
Subject: pgsql: Fix test_valid_server_encoding helper function.
Next
From: Heikki Linnakangas
Date:
Subject: pgsql: Ignore SIGINT in walwriter and walsummarizer