pgsql: pg_upgrade: throw an error for non-existent tablespace director

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: pg_upgrade: throw an error for non-existent tablespace director
Date: 2014-04-17 15:42:29
Message-ID: E1WaoSL-0005Vu-64@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

pg_upgrade: throw an error for non-existent tablespace directories

Non-existent tablespace directory references can occur if user
tablespaces are created inside data directories and the data directory
is renamed in preparation for running pg_upgrade, and the symbolic links
are not updated.

Backpatch to 9.3.

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/071d9f085089f3fbae1b472debd38c555cd4a436

Modified Files
--------------
contrib/pg_upgrade/tablespace.c | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2014-04-17 15:56:04 pgsql: report stat() error in trigger file check
Previous Message Bruce Momjian 2014-04-17 14:53:15 pgsql: docs: adjustments for streaming standbys that disconnect frequen