Remove redundant AssertVariableIsOfType uses

Peter Eisentraut <peter@eisentraut.org>

Commit: f3c96c9dff0c727afd1ef2ea976592c77cc809b5
Author: Peter Eisentraut <peter@eisentraut.org>
Date: 2026-01-22T11:20:32Z
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

Files

PathChange+/−
src/bin/pg_upgrade/check.c modified +0 −23
src/bin/pg_upgrade/function.c modified +0 −2
src/bin/pg_upgrade/info.c modified +0 −5
src/bin/pg_upgrade/version.c modified +0 −2

Discussion