Re: rename and move AssertVariableIsOfType

From: Bertrand Drouvot <bertranddrouvot(dot)pg(at)gmail(dot)com>
To: Peter Eisentraut <peter(at)eisentraut(dot)org>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Álvaro Herrera <alvherre(at)kurilemu(dot)de>
Subject: Re: rename and move AssertVariableIsOfType
Date: 2026-02-16 09:01:49
Message-ID: aZLc/f+qreWhnACT@ip-10-97-1-34.eu-west-3.compute.internal
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ajit Awekar 2026-02-16 09:10:36 [OAuth2] Infrastructure for tracking token expiry time
Previous Message Amit Kapila 2026-02-16 08:52:57 Re: [Patch] add new parameter to pg_replication_origin_session_setup