pg_upgrade: throw an error for non-existent tablespace directories

Bruce Momjian <bruce@momjian.us>

Commit: 071d9f085089f3fbae1b472debd38c555cd4a436
Author: Bruce Momjian <bruce@momjian.us>
Date: 2014-04-17T15:42:21Z
Releases: 9.3.5
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.

Files

PathChange+/−
contrib/pg_upgrade/tablespace.c modified +32 −0