pg.ddx.io pgsql-admin@postgresql.org mailing list archive
help / color / mirror / Atom feed From: Achilleas Mantzios <achill@matrix.gatewaynet.com>
To: pgsql-admin@postgresql.org
Subject: Re: upgrade path from PG 8.3 to PG 9.5
Date: Wed, 22 Mar 2017 17:08:34 +0200
Message-ID: <58D29372.5090900@matrix.gatewaynet.com> (raw )
In-Reply-To: <CAHw75vsqOVpMvzZkSR0RO57kV=Eftm718XEZGHf9NXFJR237hA@mail.gmail.com >
References: <58AF1E37.90309@nrc-cnrc.gc.ca >
<CAHw75vtP=FPdVeMZE5bWE6_+Mi0RzyXgr7fEAjDCvBmkkMpdcQ@mail.gmail.com >
<722763388.20170321172524@am-soft.de >
<20170321164049.GN9812@tamriel.snowman.net >
<CAKFQuwbDq=epG8Rph13tRq8rwtg-5NX5NjH7PQPN71RffEGfFQ@mail.gmail.com >
<20170321165442.GO9812@tamriel.snowman.net >
<CAOR=d=1O5d2Oc9AatyUFOoAS4JXtdkrVCp3smx=NLS=0ir8TUg@mail.gmail.com >
<58D2231B.8050405@matrix.gatewaynet.com >
<CAHw75vsqOVpMvzZkSR0RO57kV=Eftm718XEZGHf9NXFJR237hA@mail.gmail.com >
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>
On 22/03/2017 16:47, Keith wrote:
>
> We used pg_upgrade recently for migrating from 8.3 -> *9.4 (the last version which supports 8.3)*, and it went nice. We had some custom functions in C, and pg_upgrade is a disciplined way to deal
> with the migration
>
> I would be curious how that worked since the documentation states the old version must be at least 8.4.7 for pg_upgrade to work.
You missed the 9.4 part : https://www.postgresql.org/docs/9.4/static/pgupgrade.html
"pg_upgrade supports upgrades from 8.3.X and later"
Then they can pg_upgrade from 9.4 -> 9.6 much easier.
>
> https://www.postgresql.org/docs/9.6/static/pgupgrade.html <https://www.postgresql.org/docs/9.6/static/pgupgrade.html ;
>
> Just checked this with 8.3.22 and confirmed the binary won't even let you run it.
>
> $ pg_upgrade -b /opt/pgsql8323/bin -B /opt/pgsql962/bin -c -d /opt/pgdata/83 -D /opt/pgdata/83upgrade
> Performing Consistency Checks
> -----------------------------
> Checking cluster versions
> This utility can only upgrade from PostgreSQL version 8.4 and later.
> Failure, exiting
>
> Not trying to be pedantic, but don't want to lead someone down a road that won't work properly.
>
> Keith--
> Achilleas Mantzios
> IT DEV Lead
> IT DEPT
> Dynacom Tankers Mgmt
>
>
>
>
> --
> Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org <mailto:pgsql-admin@postgresql.org>)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-admin <http://www.postgresql.org/mailpref/pgsql-admin ;
>
--
Achilleas Mantzios
IT DEV Lead
IT DEPT
Dynacom Tankers Mgmt
view thread (13+ messages) latest in thread
Message-ID: <58D29372.5090900@matrix.gatewaynet.com>
Permalink: ../58D29372.5090900@matrix.gatewaynet.com/
Also on: postgresql.org/message-id/58D29372.5090900@matrix.gatewaynet.com
copy link · copy postgr.es
reply Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: achill@matrix.gatewaynet.com
Subject: Re: upgrade path from PG 8.3 to PG 9.5
In-Reply-To: <58D29372.5090900@matrix.gatewaynet.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox