diff options
| author | Tom Lane | 2016-08-15 17:49:49 +0000 |
|---|---|---|
| committer | Tom Lane | 2016-08-15 17:49:49 +0000 |
| commit | ca9112a424ff68ec4f2ef67b47122f7d61412964 (patch) | |
| tree | da13d4eead313a32e53849ea0b7dd1de9a00fb29 /src/bin/pg_upgrade/server.c | |
| parent | b5bce6c1ec6061c8a4f730d927e162db7e2ce365 (diff) | |
Stamp HEAD as 10devel.
This is a good bit more complicated than the average new-version stamping
commit, because it includes various adjustments in pursuit of changing
from three-part to two-part version numbers. It's likely some further
work will be needed around that change; but this is enough to get through
the regression tests, at least in Unix builds.
Peter Eisentraut and Tom Lane
Diffstat (limited to 'src/bin/pg_upgrade/server.c')
| -rw-r--r-- | src/bin/pg_upgrade/server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_upgrade/server.c b/src/bin/pg_upgrade/server.c index 830335f5019..12432bb1d07 100644 --- a/src/bin/pg_upgrade/server.c +++ b/src/bin/pg_upgrade/server.c @@ -166,7 +166,7 @@ get_major_server_version(ClusterInfo *cluster) if (fscanf(version_fd, "%63s", cluster->major_version_str) == 0 || sscanf(cluster->major_version_str, "%d.%d", &integer_version, - &fractional_version) != 2) + &fractional_version) < 1) pg_fatal("could not get version from %s\n", cluster->pgdata); fclose(version_fd); |
