Re: pg_upgrade (9.1 to 9.2) bombing on casts

From: Sergey Konoplev <gray(dot)ru(at)gmail(dot)com>
To: Wells Oliver <wellsoliver(at)gmail(dot)com>
Cc: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: pg_upgrade (9.1 to 9.2) bombing on casts
Date: 2013-07-15 05:42:22
Message-ID: CAL_0b1v3xp_W_ZRLCCMwF_RKWHd4T10U6Jp84xzqY3yg6-8a6A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

On Thu, Jul 11, 2013 at 9:55 PM, Wells Oliver <wellsoliver(at)gmail(dot)com> wrote:
> Command executed:
>
> time \
> /usr/lib/postgresql/9.2/bin/pg_upgrade -k \
> -b /usr/lib/postgresql/9.1/bin \
> -B /usr/lib/postgresql/9.2/bin \
> -d /data/postgresql/9.1/test \
> -D /data/postgresql/9.2/main \
> -o '-D /etc/postgresql/9.1/test' \
> -O '-D /etc/postgresql/9.2/main'

In future I suggest you to use --check (from docs: check clusters
only, don't change any data) when performing pg_upgrade first. I will
show you all the errors but will not affect your cluster. And you can
use safe it on a running instance BTW.

--
Kind regards,
Sergey Konoplev
PostgreSQL Consultant and DBA

Profile: http://www.linkedin.com/in/grayhemp
Phone: USA +1 (415) 867-9984, Russia +7 (901) 903-0499, +7 (988) 888-1979
Skype: gray-hemp
Jabber: gray(dot)ru(at)gmail(dot)com

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Bruce Momjian 2013-07-15 08:47:02 Re: pg_upgrade (9.1 to 9.2) bombing on casts
Previous Message Sergey Konoplev 2013-07-15 05:35:39 Re: Creating new cluster by copying directory?