pg_upgrade 9.1.9 ->9.3.1

From: Marc Mamin <M(dot)Mamin(at)intershop(dot)de>
To: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: pg_upgrade 9.1.9 ->9.3.1
Date: 2013-10-25 11:20:17
Message-ID: B6F6FD62F2624C4C9916AC0175D56D880CE3F304@jenmbs01.ad.intershop.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I'm evaluating pg_upgrade and there seems to be something wrong with my test:
the data get copied within the old data directory instead of the new one

Do I have to explicitely set more option or define some environment variables ?

If this is of concern, there are some redirections with symlinks within the old $PGDATA

./pg_upgrade \
--old-datadir "/data/postgresql-data-9"\
--new-datadir "/pgdata/postgresql_93-data-9"\
--old-bindir "/opt/intershop/postgresql-9.1.9-9/bin"\
--new-bindir "/opt/intershop/postgresql-9.3.1-9/bin"

=>

ll /data/postgresql-data-9/tblspc_data/cicpg_logs/

drwx------ 3 isdb9 isgrp9 4096 Oct 21 15:48 PG_9.1_201105231
drwx------ 3 isdb9 isgrp9 4096 Oct 25 12:26 PG_9.3_201306121

thanks,

Marc Mamin

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Elliot 2013-10-25 12:26:13 Re: Count of records in a row
Previous Message Ivan Voras 2013-10-25 10:42:06 Re: "Recheck conditions" on indexes