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 1vw15I-00FcqB-0W for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 16:53:00 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vw15G-00510J-2R for pgsql-hackers@arkaria.postgresql.org; Fri, 27 Feb 2026 16:52:58 +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 1vw15F-005103-37 for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 16:52:58 +0000 Received: from fout-a3-smtp.messagingengine.com ([103.168.172.146]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1vw15C-00000001bI9-1OxM for pgsql-hackers@lists.postgresql.org; Fri, 27 Feb 2026 16:52:57 +0000 Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45]) by mailfout.phl.internal (Postfix) with ESMTP id 9E26FEC04DC; Fri, 27 Feb 2026 11:52:48 -0500 (EST) Received: from phl-frontend-03 ([10.202.2.162]) by phl-compute-05.internal (MEProxy); Fri, 27 Feb 2026 11:52:48 -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=1772211168; x=1772297568; bh=t3eYxBZDFF9/wrWH0fyXWCYmjSBJuw+I +h78/+PWldc=; b=jBHtBkhdu//0axgZaUA7ik525fW2ykTrNQxWQu4yVcktWU7L uhqUiO2jnK/0Lp7Mlv77XhF9vgv4j8iqHjWDbaLIzQZVT2OCOK8Ns8UESWC/YBDe lCxHyUzbK/A29edjjvKLAAF7WbS5+nFeyMMFMgOjm3WIbrXemG76hkXprBhWkiAC x1fwJaI/joP4KJP4iuNGdV4LVVUVy/GEvIw5aSuLBl2TIrorfWpilaXp1blw8H14 R4g61MDW+lP/6ZCqlcidZ0uP9YXUDOKyO8NrRcITJPnUhPVFymZzZ+5Tl8uYiKbg bBwex/N/PCTiBpqB+rgkMzmHKyFedxw+TJJvig== 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=1772211168; x= 1772297568; bh=t3eYxBZDFF9/wrWH0fyXWCYmjSBJuw+I+h78/+PWldc=; b=Z X9QLx5BAdwwmhTZeISoHvHEZCGrn4WIyGMZsQyG3agpcSY0VQDa08cD+5y/efSBT FCV7Tw9Js3eBtLSBhT6R8pF/tTF1TgFt8h3ygY19jFHzsQZl9wugQtnjTavtpeZB QBr+GUROWflksrs37WM1muU6/PolPJ3IwesQatIQYh9PdrQRHecC8TAN5bMzyc2L WIxhPM1udsj7NSghsrWG98cBGrJsm3shyZY333OmFwdsQw9C9dySkbSURbZvjNWd SRnQ9kl1MnamSMcXAcB69yO5RmUpIMh2sIsBgvSo7Aumpol7C9D7xJ/VsJHf+J4o OClrZCTP1XWYTtQ15Cl1A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefgedrtddtgddvgeelheefucetufdoteggodetrf dotffvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfurfetoffkrfgpnffqhgenuceu rghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujf gurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpefrvghtvghr ucfgihhsvghnthhrrghuthcuoehpvghtvghrsegvihhsvghnthhrrghuthdrohhrgheqne cuggftrfgrthhtvghrnhepgfejtdfhkeeftdeugfeileehteeljeeghfeuledthfeutedv ffdukeefjefhgeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepphgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopehpohhsthhgrhgvshesjhgvlh htvghfrdhnlhdprhgtphhtthhopehpghhsqhhlqdhhrggtkhgvrhhssehlihhsthhsrdhp ohhsthhgrhgvshhqlhdrohhrghdprhgtphhtthhopehthhhomhgrshdrmhhunhhrohesgh hmrghilhdrtghomh X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 27 Feb 2026 11:52:47 -0500 (EST) Message-ID: <9f545a6c-036e-4f3e-bc4e-4692fe725419@eisentraut.org> Date: Fri, 27 Feb 2026 17:52:46 +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 References: <4d8b9e53-3f37-43f0-a4aa-5bda9c7961b3@eisentraut.org> <4e82f77b-acad-4356-94f6-8255135fb36b@eisentraut.org> <2h2n2gyw2f4ucicbl3drtdkjt2wzf6b2r4wqm7xwks6vpx5j7n@imymv4hkz5jz> <8f8776be-6d8f-4e1c-8d21-e55052edd91b@eisentraut.org> 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 27.02.26 17:40, Jelte Fennema-Nio wrote: > On Fri Feb 20, 2026 at 10:47 AM CET, Jelte Fennema-Nio wrote: >> Makes total sense, I didn't realise decltype and typeof were not quite >> the same thing. Attached is an updated patchset that does that. > > Same patchset as before, but now also including a C++ fallback for > __builtin_types_compatible_p. Have you tested whether/how these configure/meson tests work if no C++ compiler is found? (I haven't, I'm just wondering.)