]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Remove redundant AssertVariableIsOfType uses
authorPeter Eisentraut <peter@eisentraut.org>
Thu, 22 Jan 2026 08:19:13 +0000 (09:19 +0100)
committerPeter Eisentraut <peter@eisentraut.org>
Thu, 22 Jan 2026 11:20:32 +0000 (12:20 +0100)
commitf3c96c9dff0c727afd1ef2ea976592c77cc809b5
tree932ed7742b8ba48b5c931bcd4b878a6844650f06
parentae4fe737aea36eb3a20e567c75cd70a82d1af230
Remove redundant AssertVariableIsOfType uses

The uses of AssertVariableIsOfType in pg_upgrade are unnecessary
because the calls to upgrade_task_add_step() already check the
compatibility of the callback functions.

These were apparently copied from a previous coding style, but similar
removals were already done in commit 30b789eafe.

Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Nathan Bossart <nathandbossart@gmail.com>
Discussion: https://www.postgresql.org/message-id/flat/3d289481-7f76-409f-81c7-81824219cc75%40eisentraut.org
src/bin/pg_upgrade/check.c
src/bin/pg_upgrade/function.c
src/bin/pg_upgrade/info.c
src/bin/pg_upgrade/version.c