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

From Jelte Fennema-Nio
Subject Re: Make copyObject work in C++
Date
Msg-id CAGECzQTW4JBdydafZ53w7nyZ8NH+itpSDbo7xY9Lw+jP=pV+ZQ@mail.gmail.com
Whole thread Raw
In response to Re: Make copyObject work in C++  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
On Mon, 26 Jan 2026 at 11:29, Peter Eisentraut <peter@eisentraut.org> wrote:
> Maybe it would be enough to only support PG_MODULE_MAGIC (without
> arguments) in C++ for now.

You mean by explicitly ifdefing out PG_MODULE_MAGIC_EXT to make it
unusable in C++? Or just not adding the additional documentation that
I added in my patch?
I'm currently using PG_MODULE_MAGIC_EXT in the C++ extension that I
maintain, and I'd prefer to continue doing so. Especially because it
(currently) doesn't have to work on MSVC for my purposes.



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Make copyObject work in C++
Next
From: Jelte Fennema-Nio
Date:
Subject: Re: Make copyObject work in C++