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

From Peter Eisentraut
Subject Re: Make copyObject work in C++
Date
Msg-id bff1d798-2fc4-48a8-b4eb-7a550be46d07@eisentraut.org
Whole thread
In response to Re: Make copyObject work in C++  (Bertrand Drouvot <bertranddrouvot.pg@gmail.com>)
Responses Re: Make copyObject work in C++
List pgsql-hackers
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.




pgsql-hackers by date:

Previous
From: Michael Banck
Date:
Subject: Re: First draft of PG 19 release notes
Next
From: Lakshmi N
Date:
Subject: Reject invalid databases in pg_get_database_ddl()