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 1wDHlI-002oVC-1V for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Apr 2026 08:07:45 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wDHlH-004pXr-0r for pgsql-hackers@arkaria.postgresql.org; Thu, 16 Apr 2026 08:07:43 +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 1wDHlG-004pXh-1k for pgsql-hackers@lists.postgresql.org; Thu, 16 Apr 2026 08:07:42 +0000 Received: from fhigh-a6-smtp.messagingengine.com ([103.168.172.157]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.98.2) (envelope-from ) id 1wDHlD-00000001NBb-2uQI for pgsql-hackers@lists.postgresql.org; Thu, 16 Apr 2026 08:07:42 +0000 Received: from phl-compute-10.internal (phl-compute-10.internal [10.202.2.50]) by mailfhigh.phl.internal (Postfix) with ESMTP id B81911400065; Thu, 16 Apr 2026 04:07:37 -0400 (EDT) Received: from phl-frontend-04 ([10.202.2.163]) by phl-compute-10.internal (MEProxy); Thu, 16 Apr 2026 04:07:37 -0400 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=fm1; t=1776326857; x=1776413257; bh=qhzbuUYMIMaKyhl4EOxC7aRD0cMr2BB1 +a8c+5gA9HE=; b=F8gGgeqnZad2OhR/ePvp0YsZDYD7ITMbW6GRkJ9aBVZMGBsl nw4crAwe/rJmPVo891Vvh85gEZhTkfcU3J5KImW0voGyt6y3ZfzPIgt+HS3O/6z8 ETYzyofu4coM8CBPXLSe1b5iw6DfhJIT1lRFR7csYDFxSxx7NAi0VHDMkyv1Nd8P usCDDh5C/dDncwa2KxH2MLR3JtKSRlCUbmb6U/duxG4TGmqBUJ3C4IXCEjdzQ+9a 5lGSVPoEDEYOPRzk46Jn3TzCcohwaSBc7AJq5x9J0M8N/mxU2DBjM0PPjOBAhkWe 50NXbiCEYa+YRcCsDRsW682bh+SNkiKbfN/iLw== 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=fm2; t=1776326857; x= 1776413257; bh=qhzbuUYMIMaKyhl4EOxC7aRD0cMr2BB1+a8c+5gA9HE=; b=v FVnBTkiZNb4deWxtLacQ00E7ZISG9Eh47h3oWSNy3P+1D0vVgA3KrykdecmQ2MUj Cj4aUY4TU+IhwybI/sKxWX2unVoU9hCdyQ6ZAEnVrIX1mI+3nUJ7dIQa5HrzujRM DNR1uzc2xDpfpCP3hCjSm1eU7Givlwl4PtLkqv6CM6Yc29ZEt6GcO9GdPsoVzhTO HEvP15rErvu9FIBYTSLYXbGEEJVKU9VK4KWoD8tOPwJDDJM1RMEHqbCYE6blGLYQ 2MAt6wjoRPLdp1rfNEPE6jBsko49+i+M6EN/PuJtcs5GVa6GfSjkAQGfT9PZnx0M ZURdh5Cpn6tmNeoBCCsmw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefhedrtddtgdegieegjecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpuffrtefokffrpgfnqfghnecuuegr ihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjug hrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomheprfgvthgvrhcu gfhishgvnhhtrhgruhhtuceophgvthgvrhesvghishgvnhhtrhgruhhtrdhorhhgqeenuc ggtffrrghtthgvrhhnpefgjedthfekfedtuefgieelheetleejgefhueeltdfhueetvdff udekfeejhfegheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfh hrohhmpehpvghtvghrsegvihhsvghnthhrrghuthdrohhrghdpnhgspghrtghpthhtohep hedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepsggvrhhtrhgrnhguughrohhuvh hothdrphhgsehgmhgrihhlrdgtohhmpdhrtghpthhtohepphhoshhtghhrvghssehjvghl thgvfhdrnhhlpdhrtghpthhtohepphhgshhqlhdqhhgrtghkvghrsheslhhishhtshdrph hoshhtghhrvghsqhhlrdhorhhgpdhrtghpthhtohepthhhohhmrghsrdhmuhhnrhhosehg mhgrihhlrdgtohhmpdhrtghpthhtoheprghnughrvghssegrnhgrrhgriigvlhdruggv X-ME-Proxy: Feedback-ID: ie0a040ee:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 16 Apr 2026 04:07:36 -0400 (EDT) Message-ID: Date: Thu, 16 Apr 2026 10:07:35 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Make copyObject work in C++ To: Bertrand Drouvot Cc: Jelte Fennema-Nio , PostgreSQL Hackers , Thomas Munro , Andres Freund References: <2h2n2gyw2f4ucicbl3drtdkjt2wzf6b2r4wqm7xwks6vpx5j7n@imymv4hkz5jz> <5291d173-1227-4619-b8fd-62336ad292b3@eisentraut.org> <6dff90f6-2afb-44a3-9524-b017924d71da@eisentraut.org> <7ddb8894-3939-4846-8d7f-d886b2cb42ab@eisentraut.org> <8f4a2a1e-6142-4481-bc21-76fd33419103@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 14.04.26 15:10, Bertrand Drouvot wrote: > Hi, > > On Thu, Apr 09, 2026 at 11:41:39AM +0000, Bertrand Drouvot wrote: >> Hi, >> >> On Wed, Apr 01, 2026 at 07:54:07AM +0200, Peter Eisentraut wrote: >>> >>> Ok, I have committed the shown patch. >> >> d50c86e74375 added a comment mentionning that StaticAssertStmt is deprecated, so >> we really need the one added in test_cplusplusext.cpp? > > Now that 66ad764c8d5 is in, the only remaining use of StaticAssertStmt() is in > test_cplusplusext.cpp. What about the attached to get rid of it? This is a test module. Even if the construct is deprecated, we can still test it.