From 56a9adcb96ead8569582aa1f0f77a8fa9e24c189 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Wed, 5 Jan 2011 20:14:59 -0500 Subject: [PATCH] Rename pg_upgrade variables, for clarity. --- contrib/pg_upgrade/function.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/pg_upgrade/function.c b/contrib/pg_upgrade/function.c index bd96b03ef4..2ab8e4f403 100644 --- a/contrib/pg_upgrade/function.c +++ b/contrib/pg_upgrade/function.c @@ -27,8 +27,8 @@ install_support_functions(void) for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++) { - DbInfo *newdb = &new_cluster.dbarr.dbs[dbnum]; - PGconn *conn = connectToServer(&new_cluster, newdb->db_name); + DbInfo *new_db = &new_cluster.dbarr.dbs[dbnum]; + PGconn *conn = connectToServer(&new_cluster, new_db->db_name); /* suppress NOTICE of dropped objects */ PQclear(executeQueryOrDie(conn, @@ -98,8 +98,8 @@ uninstall_support_functions(void) for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++) { - DbInfo *newdb = &new_cluster.dbarr.dbs[dbnum]; - PGconn *conn = connectToServer(&new_cluster, newdb->db_name); + DbInfo *new_db = &new_cluster.dbarr.dbs[dbnum]; + PGconn *conn = connectToServer(&new_cluster, new_db->db_name); /* suppress NOTICE of dropped objects */ PQclear(executeQueryOrDie(conn, -- 2.40.0