Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit56a9adc

Browse files
committed
Rename pg_upgrade variables, for clarity.
1 parente66e439 commit56a9adc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

‎contrib/pg_upgrade/function.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ install_support_functions(void)
2727

2828
for (dbnum=0;dbnum<new_cluster.dbarr.ndbs;dbnum++)
2929
{
30-
DbInfo*newdb=&new_cluster.dbarr.dbs[dbnum];
31-
PGconn*conn=connectToServer(&new_cluster,newdb->db_name);
30+
DbInfo*new_db=&new_cluster.dbarr.dbs[dbnum];
31+
PGconn*conn=connectToServer(&new_cluster,new_db->db_name);
3232

3333
/* suppress NOTICE of dropped objects */
3434
PQclear(executeQueryOrDie(conn,
@@ -98,8 +98,8 @@ uninstall_support_functions(void)
9898

9999
for (dbnum=0;dbnum<new_cluster.dbarr.ndbs;dbnum++)
100100
{
101-
DbInfo*newdb=&new_cluster.dbarr.dbs[dbnum];
102-
PGconn*conn=connectToServer(&new_cluster,newdb->db_name);
101+
DbInfo*new_db=&new_cluster.dbarr.dbs[dbnum];
102+
PGconn*conn=connectToServer(&new_cluster,new_db->db_name);
103103

104104
/* suppress NOTICE of dropped objects */
105105
PQclear(executeQueryOrDie(conn,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp