Re: rename and move AssertVariableIsOfType - Mailing list pgsql-hackers

From Bertrand Drouvot
Subject Re: rename and move AssertVariableIsOfType
Date
Msg-id aZLc/f+qreWhnACT@ip-10-97-1-34.eu-west-3.compute.internal
Whole thread Raw
In response to Re: rename and move AssertVariableIsOfType  (Peter Eisentraut <peter@eisentraut.org>)
List pgsql-hackers
Hi,

On Mon, Feb 16, 2026 at 09:40:28AM +0100, Peter Eisentraut wrote:
> On 03.02.26 14:39, Bertrand Drouvot wrote:
> > After there are no remaining usages of StaticAssertStmt() and we may want to
> > deprecate it.
> 
> I have committed this.

Thanks!

> And then I added a comment in c.h that StaticAssertStmt() is deprecated.

I think that could be also a good candidate for using pg_attribute_deprecated()
proposed in [1] (cc-ing Álvaro as I think he had in mind to add the
pg_attribute_deprecated() to the tree).

Regards,

[1]: https://postgr.es/m/aRGa87Ab0f3ItWRV@ip-10-97-1-34.eu-west-3.compute.internal

-- 
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com



pgsql-hackers by date:

Previous
From: Amit Kapila
Date:
Subject: Re: [Patch] add new parameter to pg_replication_origin_session_setup
Next
From: Ajit Awekar
Date:
Subject: [OAuth2] Infrastructure for tracking token expiry time