Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken

From: Federico Campoli <federico(at)brandwatch(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken
Date: 2016-02-04 16:23:47
Message-ID: 56B37B13.5000405@brandwatch.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

On 04/02/16 05:21, John R Pierce wrote:
> On 2/3/2016 7:06 PM, jpaul(at)aconex(dot)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(at)brandwatch(dot)com |

New York | San Francisco | *Brighton* | Berlin | Stuttgart

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Daniel Verite 2016-02-04 16:25:17 Re: BUG #13911: pg_upgrade from 8.4 to 9.5 broken
Previous Message Michael Paquier 2016-02-04 15:38:28 Re: Re: BUG #13685: Archiving while idle every archive_timeout with wal_level hot_standby