From: Federico Campoli <federico@brandwatch.com>
To: pgsql-bugs@postgresql.org
Subject: Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken
Date: Thu, 4 Feb 2016 16:23:47 +0000
Message-ID: <56B37B13.5000405@brandwatch.com> (raw)
In-Reply-To: <56B2DFE9.5080806@hogranch.com>
References: <20160204030603.2782.10257@wrigleys.postgresql.org>
<56B2DFE9.5080806@hogranch.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
On 04/02/16 05:21, John R Pierce wrote:
> On 2/3/2016 7:06 PM, jpaul@aconex.com wrote:
>> /usr/lib/postgresql/9.5/bin/pg_upgrade --old-datadir
>> '/etc/postgresql/8.4/main' --new-datadir '/etc/postgresql/9.5/main'
>
> I don't use Ubuntu, but the data directories shouldn't be in /etc, thats
> where the powergresql.conf files are located in their wrappered
> systems. The data directories should be in /var/something.
>
>
>
Correct
The default schema is
/var/lib/postgresql/<major_version>/<cluster_name>/
the --new-datadir should be
/var/lib/postgresql/9.5/main
--
Federico Campoli
Brandwatch | Senior Database Administrator
federico@brandwatch.com |
New York | San Francisco | *Brighton* | Berlin | Stuttgart
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: federico@brandwatch.com
Subject: Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken
In-Reply-To: <56B37B13.5000405@brandwatch.com>
References: <20160204030603.2782.10257@wrigleys.postgresql.org> <56B2DFE9.5080806@hogranch.com> <56B37B13.5000405@brandwatch.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