Remove redundant AssertVariableIsOfType uses
Peter Eisentraut <peter@eisentraut.org>
Author:
Peter Eisentraut <peter@eisentraut.org>
Date: 2026-01-22T11:20:32Z
Releases:
19 (unreleased)
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
| Path | Change | +/− |
|---|---|---|
| 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
- Remove redundant AssertVariableIsOfType uses in pg_upgrade 4 messages · 2026-01-20 → 2026-01-22