pg_upgrade question

From: Mark Steben <mark(dot)steben(at)drivedominion(dot)com>
To: pgsql-admin <pgsql-admin(at)postgresql(dot)org>
Subject: pg_upgrade question
Date: 2016-08-11 19:02:37
Message-ID: CADyzmyyEmvDizF0FNw=3gjiYtzJfkGFHBKOPjM-tdkM66g0OuA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Good afternoon,

I am hoping to use pg_upgrade with the link option to upgrade from 9.2 to
9.4.
We run redhat linux
This is the current configuration:

There is one set of binaries:
/usr/local/postgresql-9.2.5 >>> upgrade to >>>
/usr/local/postgresql-9.4.8.

However there are *three *sets of data clusters. All on different disks -
same file structure. They are on the same physical machine but referenced
by different i/ps and have to be referenced to different hosts:

first data cluster:
/postgres_data/legacy/PSQL_92 >> upgrade to >>
/postgres_data/legacy/PSQL_94
to reference this at the command line within linux
psql -U <<rolename?>> << database>> -h prod-legacy-psql.server.int

second data cluster
/postgres_data/prime/PSQL_92 >> upgrade to>> /postgres_data/prime/PSQL_94
to reference this at the command line within linux
psql -U <<rolename?>> << database>> -h prod-prime-psql.server.int

third data cluster:
/postgres_data/autoscheduler/PSQL_92 >> upgrade to>>
/postgres_data/autoscheduler/PSQL_94
to reference this at the command line within linux
psql -U <<rolename?>> << database>> -h prod-autoscheduler-psql.
server.int

Is this possible using pg_upgrade? From the documentation it looks like
there is a one-to-one correlation between the binaries and the data cluster
- I don't see a 'multiple' option.

Thanks for your time.

--
*Mark Steben*
Database Administrator
@utoRevenue <http://www.autorevenue.com/> | Autobase
<http://www.autobase.net/>
CRM division of Dominion Dealer Solutions
95D Ashley Ave.
West Springfield, MA 01089
t: 413.327-3045
f: 413.383-9567

www.fb.com/DominionDealerSolutions
www.twitter.com/DominionDealer
www.drivedominion.com <http://www.autorevenue.com/>

<http://autobasedigital.net/marketing/DD12_sig.jpg>

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2016-08-11 19:43:41 Re: pg_upgrade question
Previous Message Keith 2016-08-11 13:23:29 Re: Slave show ahead of the WAL error