Re: Make copyObject work in C++

From: "Jelte Fennema-Nio" <postgres(at)jeltef(dot)nl>
To: "Peter Eisentraut" <peter(at)eisentraut(dot)org>
Cc: "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-25 12:42:51
Message-ID: DFXOG2P1QMS8.3L7MCAL0E6MVJ@jeltef.nl
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Tue Jan 20, 2026 at 5:28 PM CET, Peter Eisentraut wrote:
> I have split your first patch further. For a start, I left out the
> PG_MODULE_MAGIC*-related changes and disabled the module under MSVC.
> This has been committed. I plan to let the buildfarm run with it for a
> day or two and then add in the basic MSVC support.

To hopefully make your life a bit easier. Here's a rebased version that
enables the MSVC support again, with an updated commit message.

Attachment Content-Type Size
v7-0001-Support-building-C-extensions-with-MSVC.patch text/x-patch 5.6 KB
v7-0002-Support-using-copyObject-in-C.patch text/x-patch 2.9 KB
v7-0003-Use-pg_exprtype-instead-of-typeof.patch text/x-patch 3.1 KB
v7-0004-Support-using-StaticAssert-macros-in-C.patch text/x-patch 2.5 KB
v7-0005-Support-using-list_make-macros-in-C.patch text/x-patch 2.9 KB

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Junwang Zhao 2026-01-25 12:44:33 Re: [PATCH] Replace COUNT(NULL) with '0'::bigint
Previous Message David Rowley 2026-01-25 12:13:17 Re: [PATCH] Replace COUNT(NULL) with '0'::bigint