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

From Bruce Momjian
Subject pgsql: pg_upgrade: throw an error for non-existent tablespace director
Date
Msg-id E1WaoSL-0005Vu-64@gemulon.postgresql.org
Whole thread Raw
List 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(+)


pgsql-committers by date:

Previous
From: Bruce Momjian
Date:
Subject: pgsql: pg_upgrade: throw an error for non-existent tablespace director
Next
From: Bruce Momjian
Date:
Subject: pgsql: report stat() error in trigger file check