Re: Running pg_upgrade under Debian - Mailing list pgsql-general

From Bruce Momjian
Subject Re: Running pg_upgrade under Debian
Date
Msg-id 20150420220900.GE11725@momjian.us
Whole thread Raw
In response to Re: Running pg_upgrade under Debian  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Responses Re: Running pg_upgrade under Debian  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Re: Running pg_upgrade under Debian  (Peter Eisentraut <peter_e@gmx.net>)
List pgsql-general
On Mon, Apr 20, 2015 at 07:06:37PM -0300, Alvaro Herrera wrote:
> ISTM there's a documentation bug here: in the code, the "dump" method
> checks for tablespaces and raises an error if they are found, but the
> "upgrade" method does not check.  I think the documentation should state
> that only the dump method does not support tablespaces.

OK, it would be nice if someone could report that to upstream Debian.  I
am a little confused why pg_dump/pg_restore can't use tablespaces
though.  Years ago we used to not use PG-major-version-specific
subdirectories in tablespaces, but we added that for pg_upgrade, and I
am sure they would work fine for pg_dump too.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + Everyone has their own god. +


pgsql-general by date:

Previous
From: Alvaro Herrera
Date:
Subject: Re: Running pg_upgrade under Debian
Next
From: Alvaro Herrera
Date:
Subject: Re: Running pg_upgrade under Debian