002_pg_upgrade.pl: rename some variables for clarity
authorÁlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 3 Apr 2025 07:56:58 +0000 (09:56 +0200)
committerÁlvaro Herrera <alvherre@alvh.no-ip.org>
Thu, 3 Apr 2025 07:56:58 +0000 (09:56 +0200)
commitabe56227b2e213755dd3e194c530f5f06467bd7c
tree0573fcab87e15ba57f684bf58498ac11c04008a7
parentea5d3f52334a1693a8b9e110095718c79a678a5f
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: http://postgr.es/m/CAExHW5sDm+aGb7A4EXK=X9rkrmSPDgc03EdADt=wWkdMO=XPSA@mail.gmail.com
src/bin/pg_upgrade/t/002_pg_upgrade.pl