Re: rename and move AssertVariableIsOfType
Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>, Álvaro Herrera <alvherre@kurilemu.de>
Date: 2026-02-16T09:01:49Z
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
Commits
-
Change remaining StaticAssertStmt() to StaticAssertDecl()
- d50c86e74375 19 (unreleased) landed
-
Change StaticAssertVariableIsOfType to be a declaration
- 955e50766869 19 (unreleased) landed
-
Rename AssertVariableIsOfType to StaticAssertVariableIsOfType
- 137d05df2f20 19 (unreleased) landed