Thread: pgsql: Fix version check for pg_upgrade line type crosscheck.
Fix version check for pg_upgrade line type crosscheck. Per buildfarm. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/4456763c78d2a94c42e67ce788fbe94a07aa12dc Modified Files -------------- contrib/pg_upgrade/check.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
On Thu, May 15, 2014 at 12:23:36AM +0000, Tom Lane wrote: > Fix version check for pg_upgrade line type crosscheck. > > Per buildfarm. > > Branch > ------ > master > > Details > ------- > http://git.postgresql.org/pg/commitdiff/4456763c78d2a94c42e67ce788fbe94a07aa12dc > > Modified Files > -------------- > contrib/pg_upgrade/check.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Oh, thank you. I ended up changing it to: if (GET_MAJOR_VERSION(old_cluster.major_version) <= 903) so it matches the version number in the function call. -- Bruce Momjian <bruce@momjian.us> http://momjian.us EnterpriseDB http://enterprisedb.com + Everyone has their own god. +