pgsql: 002_pg_upgrade.pl: rename some variables for clarity

From: Álvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: 002_pg_upgrade.pl: rename some variables for clarity
Date: 2025-04-03 07:57:07
Message-ID: E1u0FRj-002Qsd-33@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(dot)bapat(dot)oss(at)gmail(dot)com>
Discussion: https://postgr.es/m/CAExHW5sDm+aGb7A4EXK=X9rkrmSPDgc03EdADt=wWkdMO=XPSA@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/abe56227b2e213755dd3e194c530f5f06467bd7c

Modified Files
--------------
src/bin/pg_upgrade/t/002_pg_upgrade.pl | 37 +++++++++++++++++-----------------
1 file changed, 18 insertions(+), 19 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Álvaro Herrera 2025-04-03 08:19:49 pgsql: 002_pg_upgrade.pl: Move pg_dump test code for better stability
Previous Message Richard Guo 2025-04-03 07:44:18 pgsql: Remove duplicated comment in get_relation_constraints