Re: pg_upgrade & tablespaces

From: Adrian Klaver <adrian(dot)klaver(at)gmail(dot)com>
To: Joseph Kregloh <jkregloh(at)sproutloud(dot)com>
Cc: Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, John R Pierce <pierce(at)hogranch(dot)com>, pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: pg_upgrade & tablespaces
Date: 2013-12-31 22:02:59
Message-ID: 52C33F13.3040401@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general pgsql-hackers

On 12/31/2013 01:51 PM, Joseph Kregloh wrote:
> So you have not upgraded the tablespaces. What is important to
> remember is Postgres uses numbers to keep track of relations.
> Part of the upgrade process involves changing the numbers that
> point at relations. By manually dropping a 9.0 tablespace into a
> 9.3 data directory you have broken that system. You need to let
> pg_upgrade do the translation. See my previous message below
> for a possible solution:
>
>
>
> Sorry, I may not have been to clear on my explenation, pg_upgrade
> creates the 9.3 data directories inside the tablespace folders and those
> are the ones I moved. So pg_upgrade finishes it's job.

Can we see a listing of the tablespace and pg_tblspc?

--
Adrian Klaver
adrian(dot)klaver(at)gmail(dot)com

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2013-12-31 22:08:04 Re: pg_upgrade & tablespaces
Previous Message Joseph Kregloh 2013-12-31 21:51:22 Re: pg_upgrade & tablespaces

Browse pgsql-hackers by date

  From Date Subject
Next Message Adrian Klaver 2013-12-31 22:08:04 Re: pg_upgrade & tablespaces
Previous Message Peter Geoghegan 2013-12-31 21:56:53 Re: Patch: show relation and tuple infos of a lock to acquire