Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vsHK6-00ELdL-38 for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Feb 2026 09:24:50 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vsHK5-009Uw1-2W for pgsql-hackers@arkaria.postgresql.org; Tue, 17 Feb 2026 09:24:49 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vsHK5-009Uvs-1c for pgsql-hackers@lists.postgresql.org; Tue, 17 Feb 2026 09:24:49 +0000 Received: from flow-b5-smtp.messagingengine.com ([202.12.124.140]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vsHK3-00000001Aga-2Mhj for pgsql-hackers@lists.postgresql.org; Tue, 17 Feb 2026 09:24:49 +0000 Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailflow.stl.internal (Postfix) with ESMTP id DCBA41300D42; Tue, 17 Feb 2026 04:24:44 -0500 (EST) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Tue, 17 Feb 2026 04:24:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eisentraut.org; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm2; t=1771320284; x=1771327484; bh=0f944zMbThiLlyHgCnlNd1p89TRsFBn6 h5d+zuekpLg=; b=bMg7IXpiqYURmTDk+G+EtzeDpSIwQQbHeWxzZOMZjmST14uH uutmWU4PJaN2BCSGKWek+X6cJRpABPPx5W8vdcPLigBfOOOb2qBue/6eEhFPRzNU Qkzy5VDQQCudYArZW6TmL4JEk/2PoH26arr/p/R4nMRg4jdTtW227+90Ys8Scjly t2ys9KBUq2hMPCTLamHrIs5ZhNf1+xIqIgATkPsNDZxDAPiZ8rFFDaXSxizwPDru mxt+ThiFFfxwC25SRO8QvbCmq4XsKA9jQ6Sj/6kosjCJfkBYGX/9+pxcjazT9JKU RhMG5FzIcQWqa9P6p68doqfF+mvc5U/NbDfskw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm3; t=1771320284; x= 1771327484; bh=0f944zMbThiLlyHgCnlNd1p89TRsFBn6h5d+zuekpLg=; b=c HI4u6DCiv7OJNR8pHQGElHNq880NDzJHm9XL57hmmFVSo6uFmkKR98+3xGPQvatw LkDRCMEAgLoKY+a3krpAbF2lEAfNCcwrr2Gs0miig6A6iBWZugDqwKFCbn4jCm0i b9nM7D9KBC6tGd9Nc4LZge2DCfydaL4dDf5ww6qtdDQ5zt10FS+nO3qOseUyfx+9 2C4ape2RiAVbV5Y3ytHpzxKuvtL4BOHVKVqmhe1XG8U2h6HWy9JyoesTssS4JaRH AIjb5ckjcLM9pPmv+qrx9nZj/3aJsjCRGSu6mDNa7dFDa3y6WEl7XCZU96AwH4YA tyQAbxbjg4NPbR4dCFPLA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvudelfeelucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeutedv ffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehpohhsthhgrhgvshesjhgvlh htvghfrdhnlhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhp ohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehthhhomhgrshdrmhhunhhrohesgh hmrghilhdrtghomhdprhgtphhtthhopegrnhgurhgvshesrghnrghrrgiivghlrdguvg X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 17 Feb 2026 04:24:43 -0500 (EST) Message-ID: <5670bbe8-aee7-469e-b4c2-4b0bd61a090f@eisentraut.org> Date: Tue, 17 Feb 2026 10:24:42 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Make copyObject work in C++ To: Jelte Fennema-Nio Cc: PostgreSQL Hackers , Thomas Munro , Andres Freund References: <4d8b9e53-3f37-43f0-a4aa-5bda9c7961b3@eisentraut.org> <4e82f77b-acad-4356-94f6-8255135fb36b@eisentraut.org> <2h2n2gyw2f4ucicbl3drtdkjt2wzf6b2r4wqm7xwks6vpx5j7n@imymv4hkz5jz> Content-Language: en-US From: Peter Eisentraut In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 13.02.26 11:28, Jelte Fennema-Nio wrote: > On Sun Jan 25, 2026 at 9:06 PM CET, Andres Freund wrote: >> Named args make that easier in two ways: First, only extensions using the >> to-be-removed option will fail. Second, removal of options reliably >> generates >> errors, rather than bogusly use one field for another, just because >> the types >> are compatible. > > After discussing the topic in-person with Peter at FOSDEM. We agreed > that the best road forward was to not bother with MSVC for now. No-one > has actually expressed an interest in being able to build C++ extension > using MSVC, and the effort to support it is both non-trivial and not > without downsides to the rest of the codebase. We can always come back > to this later, possibly requiring C++20 on MSVC. > > So I've removed that patch and now this patchset its goal is to improve > compatibiltity with the C++ flavor of GCC and Clang. > > Patch 1 and 2 add some more macro calls to our test C++ extension. These > macros already work in GCC and Clang, this is purely to test for future > regressinos. I have committed these two. I'll give them some time on the buildfarm and then look at the rest.