002_pg_upgrade.pl: rename some variables for clarity

Álvaro Herrera <alvherre@alvh.no-ip.org>

Commit: abe56227b2e213755dd3e194c530f5f06467bd7c
Author: Álvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2025-04-03T07:56:58Z
Releases: 18.0
002_pg_upgrade.pl: rename some variables for clarity

This renames %node_params to %old_node_params, @initdb_params to
@old_initdb_params, and adds separate @new_initdb_params and
%new_node_params rather than reusing the former in confusing ways.

Extracted from a larger patch from the same author.

Author: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com>
Discussion: https://postgr.es/m/CAExHW5sDm+aGb7A4EXK=X9rkrmSPDgc03EdADt=wWkdMO=XPSA@mail.gmail.com

Files

PathChange+/−
src/bin/pg_upgrade/t/002_pg_upgrade.pl modified +18 −19

Discussion