Rename pg_upgrade variables, for clarity.
This commit is contained in:
parent
e66e43988a
commit
56a9adcb96
@ -27,8 +27,8 @@ install_support_functions(void)
|
|||||||
|
|
||||||
for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++)
|
for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++)
|
||||||
{
|
{
|
||||||
DbInfo *newdb = &new_cluster.dbarr.dbs[dbnum];
|
DbInfo *new_db = &new_cluster.dbarr.dbs[dbnum];
|
||||||
PGconn *conn = connectToServer(&new_cluster, newdb->db_name);
|
PGconn *conn = connectToServer(&new_cluster, new_db->db_name);
|
||||||
|
|
||||||
/* suppress NOTICE of dropped objects */
|
/* suppress NOTICE of dropped objects */
|
||||||
PQclear(executeQueryOrDie(conn,
|
PQclear(executeQueryOrDie(conn,
|
||||||
@ -98,8 +98,8 @@ uninstall_support_functions(void)
|
|||||||
|
|
||||||
for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++)
|
for (dbnum = 0; dbnum < new_cluster.dbarr.ndbs; dbnum++)
|
||||||
{
|
{
|
||||||
DbInfo *newdb = &new_cluster.dbarr.dbs[dbnum];
|
DbInfo *new_db = &new_cluster.dbarr.dbs[dbnum];
|
||||||
PGconn *conn = connectToServer(&new_cluster, newdb->db_name);
|
PGconn *conn = connectToServer(&new_cluster, new_db->db_name);
|
||||||
|
|
||||||
/* suppress NOTICE of dropped objects */
|
/* suppress NOTICE of dropped objects */
|
||||||
PQclear(executeQueryOrDie(conn,
|
PQclear(executeQueryOrDie(conn,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user