Re: pgsql: Fix version check for pg_upgrade line type crosscheck.

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Fix version check for pg_upgrade line type crosscheck.
Date: 2014-05-15 01:14:36
Message-ID: 20140515011436.GA25053@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ Everyone has their own god. +

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-15 01:14:38 pgsql: In initdb, ensure stdout/stderr buffering behavior is what we ex
Previous Message Bruce Momjian 2014-05-15 01:14:05 pgsql: pg_update: slight major version adjustment