1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-30 11:03:19 +03:00

Furter pg_upgrade optimizations to reduce function call argument count.

This commit is contained in:
Bruce Momjian
2011-01-01 12:28:48 -05:00
parent 6e6bee987f
commit 67c9e4442f
5 changed files with 20 additions and 24 deletions

View File

@ -209,8 +209,8 @@ void
check_cluster_versions(void)
{
/* get old and new cluster versions */
old_cluster.major_version = get_major_server_version(&old_cluster, &old_cluster.major_version_str);
new_cluster.major_version = get_major_server_version(&new_cluster, &new_cluster.major_version_str);
old_cluster.major_version = get_major_server_version(&old_cluster);
new_cluster.major_version = get_major_server_version(&new_cluster);
/* We allow upgrades from/to the same major version for alpha/beta upgrades */